Delete subaccount
/accounts/{accountSID}
Overview
To delete a subaccount, make the DELETE request to /accounts/{accountSID}.
Important! Use the authToken from master account to perform this operation.
Request example
The following cURL request demonstrates deleting a subaccount.
curl –X DELETE ‘https://api.apico.net/v2/accounts/{accountSID}’ \ -u {accountSID}:{authToken}
Response example
{ "status_code": 204, "status_message": "NO CONTENT" }