Saves the mail domain settings specified in the request to the portal.
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 |
POST api/2.0/settings/maildomainsettings Host: yourportal.onlyoffice.com Content-Type: application/json Accept: application/json { "Type": "None", "Domains": [ "some text" ], "InviteUsersAsVisitors": true }
Message about the result of saving the mail domain settings