delete
https://api-sandbox.asaas.com/v3/accounts/
Closes a non-BaaS subaccount. This action is irreversible and is not allowed for subaccounts that have already been closed.
AttentionTo 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.
404Not found
