Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation deleteAccountPersonsPerson
Synopsis
- deleteAccountPersonsPerson :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> DeleteAccountPersonsPersonRequestBody -> m (Either HttpException (Response DeleteAccountPersonsPersonResponse))
- deleteAccountPersonsPersonRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> DeleteAccountPersonsPersonRequestBody -> m (Either HttpException (Response ByteString))
- deleteAccountPersonsPersonM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> DeleteAccountPersonsPersonRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response DeleteAccountPersonsPersonResponse))
- deleteAccountPersonsPersonRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> DeleteAccountPersonsPersonRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data DeleteAccountPersonsPersonRequestBody = DeleteAccountPersonsPersonRequestBody {
- data DeleteAccountPersonsPersonResponse
Documentation
deleteAccountPersonsPerson Source #
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> String | person | Constraints: Maximum length of 5000 |
-> DeleteAccountPersonsPersonRequestBody | The request body to send |
-> m (Either HttpException (Response DeleteAccountPersonsPersonResponse)) | Monad containing the result of the operation |
DELETE /v1/account/persons/{person}
<p>Deletes an existing person’s relationship to the account’s legal entity. Any person with a relationship for an account can be deleted through the API, except if the person is the <code>account_opener</code>. If your integration is using the <code>executive</code> parameter, you cannot delete the only verified <code>executive</code> on file.</p>
deleteAccountPersonsPersonRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> DeleteAccountPersonsPersonRequestBody -> m (Either HttpException (Response ByteString)) Source #
DELETE /v1/account/persons/{person}
The same as deleteAccountPersonsPerson
but returns the raw ByteString
deleteAccountPersonsPersonM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> DeleteAccountPersonsPersonRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response DeleteAccountPersonsPersonResponse)) Source #
DELETE /v1/account/persons/{person}
Monadic version of deleteAccountPersonsPerson
(use with runWithConfiguration
)
deleteAccountPersonsPersonRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> DeleteAccountPersonsPersonRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
DELETE /v1/account/persons/{person}
Monadic version of deleteAccountPersonsPersonRaw
(use with runWithConfiguration
)
data DeleteAccountPersonsPersonRequestBody Source #
Defines the data type for the schema deleteAccountPersonsPersonRequestBody
data DeleteAccountPersonsPersonResponse Source #
Represents a response of the operation deleteAccountPersonsPerson
.
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), DeleteAccountPersonsPersonResponseError
is used.
DeleteAccountPersonsPersonResponseError String | Means either no matching case available or a parse error |
DeleteAccountPersonsPersonResponse200 DeletedPerson | Successful response. |
DeleteAccountPersonsPersonResponseDefault Error | Error response. |