Set the account status
PUT /api/2.0/mail/accounts/state
Sets the status of an account with the email address specified in the request.
Request body
email
type: string
Account email address
Example: "string"
state
type: boolean
Account activity status: true - enabled, false - disabled
Example: true
Request example
{
"email": "string",
"state": true
}
Returns
Account mailbox ID. A request that is not authenticated returns 401.