DELETE
/
account
/
subaccount
/
{subaccount_id}
Delete a Specific Sub-Account
curl --request DELETE \
  --url https://api.sendpost.io/api/v1/account/subaccount/{subaccount_id} \
  --header 'X-Account-ApiKey: <api-key>'
{
  "id": 12,
  "message": "Sub-Account (FoxHole V1) has been deleted successfully."
}

Authorizations

X-Account-ApiKey
string
header
required

This api key can be used for all account level operations

Path Parameters

subaccount_id
integer
required

The ID of the sub-account to delete.

Example:

12

Response

200
application/json

Sub-account successfully deleted.

The response is of type object.