patch

/subaccounts

This API endpoint gives you the flexibility to enable or disable a subaccount.

Once a subaccount is disabled, the account owner will not be able to send any new emails but will still have the access to the account and past reports. The existing tracked links sent on the messages will be still working and will be getting redirected to it’s intended destination.

Request Parameters

1 Header

Request Body

Schema
object
username
string

Username of the subaccount

2 validations + required
disable
string

Flag for subaccount should disable or not. Only two value allowed i.e. true or false.

2 validations + required

Responses

1 Example
Schema
object
success
string

Send a Test Request

Send requests directly from the browser (CORS must be enabled)
$$.env
1 variable not set
host