Get Started
Portal api methods
Help

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

Description

Sets the default account specified in the request

Parameters
Name Description Type Example
email
sent in body
Email of the account 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