Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation deleteAccountPeoplePerson
Synopsis
- deleteAccountPeoplePerson :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> DeleteAccountPeoplePersonRequestBody -> m (Either HttpException (Response DeleteAccountPeoplePersonResponse))
- deleteAccountPeoplePersonRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> DeleteAccountPeoplePersonRequestBody -> m (Either HttpException (Response ByteString))
- deleteAccountPeoplePersonM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> DeleteAccountPeoplePersonRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response DeleteAccountPeoplePersonResponse))
- deleteAccountPeoplePersonRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> DeleteAccountPeoplePersonRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data DeleteAccountPeoplePersonRequestBody = DeleteAccountPeoplePersonRequestBody {
- data DeleteAccountPeoplePersonResponse
Documentation
deleteAccountPeoplePerson Source #
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> String | person | Constraints: Maximum length of 5000 |
-> DeleteAccountPeoplePersonRequestBody | The request body to send |
-> m (Either HttpException (Response DeleteAccountPeoplePersonResponse)) | Monad containing the result of the operation |
DELETE /v1/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>
deleteAccountPeoplePersonRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> DeleteAccountPeoplePersonRequestBody -> m (Either HttpException (Response ByteString)) Source #
DELETE /v1/account/people/{person}
The same as deleteAccountPeoplePerson
but returns the raw ByteString
deleteAccountPeoplePersonM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> DeleteAccountPeoplePersonRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response DeleteAccountPeoplePersonResponse)) Source #
DELETE /v1/account/people/{person}
Monadic version of deleteAccountPeoplePerson
(use with runWithConfiguration
)
deleteAccountPeoplePersonRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> DeleteAccountPeoplePersonRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
DELETE /v1/account/people/{person}
Monadic version of deleteAccountPeoplePersonRaw
(use with runWithConfiguration
)
data DeleteAccountPeoplePersonRequestBody Source #
Defines the data type for the schema deleteAccountPeoplePersonRequestBody
data DeleteAccountPeoplePersonResponse Source #
Represents a response of the operation deleteAccountPeoplePerson
.
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), DeleteAccountPeoplePersonResponseError
is used.
DeleteAccountPeoplePersonResponseError String | Means either no matching case available or a parse error |
DeleteAccountPeoplePersonResponse200 DeletedPerson | Successful response. |
DeleteAccountPeoplePersonResponseDefault Error | Error response. |