POST api/2.0/settings/maildomainsettings
Saves the mail domain settings specified in the request to the portal.
Name |
Description |
Type |
Example |
Type
sent in body
|
Trusted domain type
|
ASC.Core.Tenants.TenantTrustedDomainsType
|
|
Domains
sent in body
|
List of trusted domains
|
System.Collections.Generic.List{System.String}
|
|
InviteAsUsers
sent in body
|
Invites as a user or not
|
System.Boolean
|
|
POST api/2.0/settings/maildomainsettings
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
{
"Type": "None",
"Domains": [
"some text"
],
"InviteAsUsers": true
}
Message about the result of saving the mail domain settings