Get Started
Usage API
More information

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

Description

Sets the default account with email address specified in the request.

Parameters
Name Description Type Example
email
sent in body
Account email address string some text
isDefault
sent in body
Set or reset account as default Bool value true
Example
PUT api/2.0/mail/accounts/default
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

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

Account email address