Skip to main content
DELETE
/
v1
/
sub-accounts
/
{id}
Deactivate sub-account
curl --request DELETE \
  --url https://api.zavu.dev/v1/sub-accounts/{id} \
  --header 'Authorization: Bearer <token>'
{
  "message": "Sub-account deactivated",
  "keysRevoked": 123
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Sub-account ID.

Response

Sub-account deactivated.

message
string
required
Example:

"Sub-account deactivated"

keysRevoked
integer
required

Number of API keys revoked.