Skip to main content
DELETE
/
subaccounts
/
{id}
Delete Subaccount
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
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

ID of subaccount to return / modify

Example:

"5nubL0NS"

Response

Subaccount successfully deleted (No Content)