POST api/2.0/settings/maildomainsettings This function requires authentication

Description

Saves the mail domain settings specified in the request to the portal.

Parameters
Name Description Type Example
Type
sent in body
Trusted domain type None, Custom, All None
Domains
sent in body
List of trusted domains Collection of strings some text
InviteUsersAsVisitors
sent in body
Invites as a user or not Bool value true
Example
POST api/2.0/settings/maildomainsettings
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "Type": "None",
  "Domains": [
    "some text"
  ],
  "InviteUsersAsVisitors": true
}
Returns

Message about the result of saving the mail domain settings