Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation deleteAccountsAccountPersonsPerson
Synopsis
- deleteAccountsAccountPersonsPerson :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> String -> DeleteAccountsAccountPersonsPersonRequestBody -> m (Either HttpException (Response DeleteAccountsAccountPersonsPersonResponse))
- deleteAccountsAccountPersonsPersonRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> String -> DeleteAccountsAccountPersonsPersonRequestBody -> m (Either HttpException (Response ByteString))
- deleteAccountsAccountPersonsPersonM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> String -> DeleteAccountsAccountPersonsPersonRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response DeleteAccountsAccountPersonsPersonResponse))
- deleteAccountsAccountPersonsPersonRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> String -> DeleteAccountsAccountPersonsPersonRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data DeleteAccountsAccountPersonsPersonRequestBody = DeleteAccountsAccountPersonsPersonRequestBody {
- data DeleteAccountsAccountPersonsPersonResponse
Documentation
deleteAccountsAccountPersonsPerson Source #
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> String | account | Constraints: Maximum length of 5000 |
-> String | person | Constraints: Maximum length of 5000 |
-> DeleteAccountsAccountPersonsPersonRequestBody | The request body to send |
-> m (Either HttpException (Response DeleteAccountsAccountPersonsPersonResponse)) | Monad containing the result of the operation |
DELETE /v1/accounts/{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>
deleteAccountsAccountPersonsPersonRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> String -> DeleteAccountsAccountPersonsPersonRequestBody -> m (Either HttpException (Response ByteString)) Source #
DELETE /v1/accounts/{account}/persons/{person}
The same as deleteAccountsAccountPersonsPerson
but returns the raw ByteString
deleteAccountsAccountPersonsPersonM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> String -> DeleteAccountsAccountPersonsPersonRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response DeleteAccountsAccountPersonsPersonResponse)) Source #
DELETE /v1/accounts/{account}/persons/{person}
Monadic version of deleteAccountsAccountPersonsPerson
(use with runWithConfiguration
)
deleteAccountsAccountPersonsPersonRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> String -> DeleteAccountsAccountPersonsPersonRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
DELETE /v1/accounts/{account}/persons/{person}
Monadic version of deleteAccountsAccountPersonsPersonRaw
(use with runWithConfiguration
)
data DeleteAccountsAccountPersonsPersonRequestBody Source #
Defines the data type for the schema deleteAccountsAccountPersonsPersonRequestBody
Instances
data DeleteAccountsAccountPersonsPersonResponse Source #
Represents a response of the operation deleteAccountsAccountPersonsPerson
.
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), DeleteAccountsAccountPersonsPersonResponseError
is used.
DeleteAccountsAccountPersonsPersonResponseError String | Means either no matching case available or a parse error |
DeleteAccountsAccountPersonsPersonResponse200 DeletedPerson | Successful response. |
DeleteAccountsAccountPersonsPersonResponseDefault Error | Error response. |