Nexus API
Block an account
This endpoint is used to delete existing data and block new data from being stored on the specified account. This may be necessary in order to comply with certain rules, regulations, or standards.
This endpoint does several things.
- It immediately and permanently deletes most data from the account object. Certain information is retained that is necessary for MX to prevent the account from being re-added.
- It prevents MX from creating or storing any additional data associated with the account, for example transactions, holdings, statements, etc.
- It immediately and permanently deletes all data associated with the account, for example transactions, holdings, statements, etc.
This action cannot be taken on manual accounts, in other words accounts with
is_manual is true. Attempting to perform a block on a manual account will result in a 400 Bad Request error with the message Manually created accounts cannot be blocked. Objects deleted as a result of blocking an account will issue a webhook for that object with the action set to deleted. For example, account deleted, transaction deleted, etc. There is no special webhook or action for blocking.
This endpoint accepts the optional
MX-Skip-Webhook header and skip_webhook parameter.PUT
/accounts/{account_guid}/block
Path Parameters
| Field | Required | Type |
|---|---|---|
account_guid The unique identifier for the account. Defined by MX | Required | String |
Loading...