Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation deleteRecipientsId
Synopsis
- deleteRecipientsId :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> DeleteRecipientsIdRequestBody -> m (Either HttpException (Response DeleteRecipientsIdResponse))
- deleteRecipientsIdRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> DeleteRecipientsIdRequestBody -> m (Either HttpException (Response ByteString))
- deleteRecipientsIdM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> DeleteRecipientsIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response DeleteRecipientsIdResponse))
- deleteRecipientsIdRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> DeleteRecipientsIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data DeleteRecipientsIdRequestBody = DeleteRecipientsIdRequestBody {
- data DeleteRecipientsIdResponse
Documentation
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> String | id | Constraints: Maximum length of 5000 |
-> DeleteRecipientsIdRequestBody | The request body to send |
-> m (Either HttpException (Response DeleteRecipientsIdResponse)) | Monad containing the result of the operation |
DELETE /v1/recipients/{id}
<p>Permanently deletes a recipient. It cannot be undone.</p>
deleteRecipientsIdRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> DeleteRecipientsIdRequestBody -> m (Either HttpException (Response ByteString)) Source #
DELETE /v1/recipients/{id}
The same as deleteRecipientsId
but returns the raw ByteString
deleteRecipientsIdM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> DeleteRecipientsIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response DeleteRecipientsIdResponse)) Source #
DELETE /v1/recipients/{id}
Monadic version of deleteRecipientsId
(use with runWithConfiguration
)
deleteRecipientsIdRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> DeleteRecipientsIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
DELETE /v1/recipients/{id}
Monadic version of deleteRecipientsIdRaw
(use with runWithConfiguration
)
data DeleteRecipientsIdRequestBody Source #
Defines the data type for the schema deleteRecipientsIdRequestBody
Instances
data DeleteRecipientsIdResponse Source #
Represents a response of the operation deleteRecipientsId
.
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), DeleteRecipientsIdResponseError
is used.
DeleteRecipientsIdResponseError String | Means either no matching case available or a parse error |
DeleteRecipientsIdResponse200 DeletedRecipient | Successful response. |
DeleteRecipientsIdResponseDefault Error | Error response. |