cURL
curl --request DELETE \ --url https://api.bolna.ai/sub-accounts/{sub_account_id} \ --header 'Authorization: Bearer <token>'
{ "message": "success", "state": "deleted" }
Use Bolna APIs to delete a sub-account and their related data, ensuring proper cleanup of agents, batches, executions, and configurations.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the sub-account
sub-account deleted response
Was this page helpful?