PUT api/2.0/mail/accounts/state
Sets the state for the account specified in the request
Name |
Description |
Type |
Example |
email
sent in body
|
Email of the account
|
string
|
some text
|
state
sent in body
|
Account activity state. Value: true or false. True - enabled, False - disabled.
|
Bool value
|
true
|
PUT api/2.0/mail/accounts/state
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
{
"email": "some text",
"state": true
}