Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation putAccountLogout
Synopsis
- putAccountLogout :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> PutAccountLogoutRequestBody -> m (Either HttpException (Response PutAccountLogoutResponse))
- putAccountLogoutRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> PutAccountLogoutRequestBody -> m (Either HttpException (Response ByteString))
- putAccountLogoutM :: forall m s. (MonadHTTP m, SecurityScheme s) => PutAccountLogoutRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PutAccountLogoutResponse))
- putAccountLogoutRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => PutAccountLogoutRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data PutAccountLogoutRequestBody = PutAccountLogoutRequestBody {}
- data PutAccountLogoutResponse
Documentation
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> PutAccountLogoutRequestBody | The request body to send |
-> m (Either HttpException (Response PutAccountLogoutResponse)) | Monad containing the result of the operation |
PUT /v1/account/logout
<p>Invalidates all sessions for a light account, for a platform to use during platform logout.</p>
<p><strong>You may only log out <a href="/docs/connect/express-accounts">Express accounts</a> connected to your platform</strong>.</p>
putAccountLogoutRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> PutAccountLogoutRequestBody -> m (Either HttpException (Response ByteString)) Source #
PUT /v1/account/logout
The same as putAccountLogout
but returns the raw ByteString
putAccountLogoutM :: forall m s. (MonadHTTP m, SecurityScheme s) => PutAccountLogoutRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PutAccountLogoutResponse)) Source #
PUT /v1/account/logout
Monadic version of putAccountLogout
(use with runWithConfiguration
)
putAccountLogoutRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => PutAccountLogoutRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
PUT /v1/account/logout
Monadic version of putAccountLogoutRaw
(use with runWithConfiguration
)
data PutAccountLogoutRequestBody Source #
Defines the data type for the schema putAccountLogoutRequestBody
PutAccountLogoutRequestBody | |
|
Instances
data PutAccountLogoutResponse Source #
Represents a response of the operation putAccountLogout
.
The response constructor is chosen by the status code of the response. If no case matches (no specific case for the response code, no range case, no default case), PutAccountLogoutResponseError
is used.
PutAccountLogoutResponseError String | Means either no matching case available or a parse error |
PutAccountLogoutResponse200 LightAccountLogout | Successful response. |
PutAccountLogoutResponseDefault Error | Error response. |
Instances
Eq PutAccountLogoutResponse Source # | |
Defined in StripeAPI.Operations.PutAccountLogout | |
Show PutAccountLogoutResponse Source # | |
Defined in StripeAPI.Operations.PutAccountLogout showsPrec :: Int -> PutAccountLogoutResponse -> ShowS # show :: PutAccountLogoutResponse -> String # showList :: [PutAccountLogoutResponse] -> ShowS # |