Get Started
API backend
API system
More information

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 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
Example
POST api/2.0/settings/maildomainsettings
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

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

Message about the result of saving the mail domain settings