Deactivate a sub-account. Remaining balance is returned to the parent team and all API keys are revoked.
curl --request DELETE \
--url https://api.zavu.dev/v1/sub-accounts/{id} \
--header 'Authorization: Bearer <token>'{
"message": "Sub-account deactivated",
"keysRevoked": 123
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Sub-account ID.
curl --request DELETE \
--url https://api.zavu.dev/v1/sub-accounts/{id} \
--header 'Authorization: Bearer <token>'{
"message": "Sub-account deactivated",
"keysRevoked": 123
}