cURL
curl --request DELETE \ --url https://api.cnaught.com/v1/subaccounts/{id} \ --header 'Authorization: Bearer <token>'
{ "title": "Authorization has been denied for this request", "status": 401 }
Deletes the Subaccount with the given id. This operation will fail if the subaccount has orders associated with it.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID of subaccount to return / modify
"5nubL0NS"
Subaccount successfully deleted (No Content)