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

Description

Sets the default account with the 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
Specifies if this account is default or not 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