Close non-BaaS subaccount

Closes a non-BaaS subaccount. This action is irreversible and is not allowed for subaccounts that have already been closed.

🚧

Attention

To use this endpoint, the parent account must enable subaccount closure management in the Security panel, available under the Integrations menu, before making the request.

For more details, see the Closing non-BaaS subaccounts guide.

This endpoint can only be used if the parent account has the IP Whitelist enabled. For more details, see the IP Whitelist guide.

To close a subaccount, it must meet the following criteria:

  • have been created less than 48 hours ago;
  • have never logged in;
  • not operate as BaaS.

Path Params
string
required

Unique subaccount identifier in Asaas

Responses

404

Not found

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json