Delete API key for a subaccount

Permanently deletes an API key of a subaccount by ID.

Use this operation when the credential should no longer be used. A deleted key cannot be restored.

❗️

Caution

Deletion permanently revokes the key. Make sure no application still depends on this credential before removing it.

⚠️

Access requirements

The request must be authenticated with the parent account's API key. Subaccount key management must be temporarily enabled in the web interface, with the IP Whitelist active and the application's outbound IP authorized.

Related content

Guides

Webhooks

Path Params
string
required

Unique subaccount identifier in Asaas

string
required

API key ID

Responses
204

No Content

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