Skip to main content
DELETE
/
sub-accounts
/
{sub_account_id}
cURL
curl --request DELETE \
  --url https://api.bolna.ai/sub-accounts/{sub_account_id} \
  --header 'Authorization: Bearer <token>'
{
  "message": "success",
  "state": "deleted"
}
This deletes ALL the data for that sub-account’s batches, executions and agents.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

sub_account_id
string<uuid>
required

The ID of the sub-account

Response

sub-account deleted response

The response is of type any.

I