Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation deleteAccountsAccountPeoplePerson
Synopsis
- deleteAccountsAccountPeoplePerson :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> String -> DeleteAccountsAccountPeoplePersonRequestBody -> m (Either HttpException (Response DeleteAccountsAccountPeoplePersonResponse))
- deleteAccountsAccountPeoplePersonRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> String -> DeleteAccountsAccountPeoplePersonRequestBody -> m (Either HttpException (Response ByteString))
- deleteAccountsAccountPeoplePersonM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> String -> DeleteAccountsAccountPeoplePersonRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response DeleteAccountsAccountPeoplePersonResponse))
- deleteAccountsAccountPeoplePersonRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> String -> DeleteAccountsAccountPeoplePersonRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data DeleteAccountsAccountPeoplePersonRequestBody = DeleteAccountsAccountPeoplePersonRequestBody {
- data DeleteAccountsAccountPeoplePersonResponse
Documentation
deleteAccountsAccountPeoplePerson 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 |
-> DeleteAccountsAccountPeoplePersonRequestBody | The request body to send |
-> m (Either HttpException (Response DeleteAccountsAccountPeoplePersonResponse)) | Monad containing the result of the operation |
DELETE /v1/accounts/{account}/people/{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>
deleteAccountsAccountPeoplePersonRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> String -> DeleteAccountsAccountPeoplePersonRequestBody -> m (Either HttpException (Response ByteString)) Source #
DELETE /v1/accounts/{account}/people/{person}
The same as deleteAccountsAccountPeoplePerson
but returns the raw ByteString
deleteAccountsAccountPeoplePersonM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> String -> DeleteAccountsAccountPeoplePersonRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response DeleteAccountsAccountPeoplePersonResponse)) Source #
DELETE /v1/accounts/{account}/people/{person}
Monadic version of deleteAccountsAccountPeoplePerson
(use with runWithConfiguration
)
deleteAccountsAccountPeoplePersonRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> String -> DeleteAccountsAccountPeoplePersonRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
DELETE /v1/accounts/{account}/people/{person}
Monadic version of deleteAccountsAccountPeoplePersonRaw
(use with runWithConfiguration
)
data DeleteAccountsAccountPeoplePersonRequestBody Source #
Defines the data type for the schema deleteAccountsAccountPeoplePersonRequestBody
Instances
data DeleteAccountsAccountPeoplePersonResponse Source #
Represents a response of the operation deleteAccountsAccountPeoplePerson
.
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), DeleteAccountsAccountPeoplePersonResponseError
is used.
DeleteAccountsAccountPeoplePersonResponseError String | Means either no matching case available or a parse error |
DeleteAccountsAccountPeoplePersonResponse200 DeletedPerson | Successful response. |
DeleteAccountsAccountPeoplePersonResponseDefault Error | Error response. |