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

1 Example
Schema
object
username
string

Username of the subaccount

required
default: subaccount_username
example: subaccount1
disable
string

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

required
default: false
example: true

Responses

1 Example
Schema
object
success
string

Send a Test Request

Send requests directly from the browser (CORS must be enabled)
$$.env
No $$.env variables are being used in this request.