TRY NEW VERSION

Try now New API BETA

Try out the new view and capabilities of the API documentation

START

PUT api/2.0/mail/accounts/state This function requires authentication

Description

Sets the status of an account with the email address specified in the request.

Parameters
Name Description Type Example
email
sent in body
Account email address string some text
state
sent in body
Account activity status: true - enabled, false - disabled Bool value true
Example
PUT api/2.0/mail/accounts/state
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "email": "some text",
  "state": true
}
Returns

Account mailbox ID