Get Started
Usage API
More information

POST api/2.0/mailserver/domains/add This function requires authentication

Description

Adds a web domain to the current tenant.

Parameters
Name Description Type Example
name
sent in body
Web domain name string some text
id_dns
sent in body
DNS ID number 1234
Example
POST api/2.0/mailserver/domains/add
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "name": "some text",
  "id_dns": 1234
}
Returns

Web domain data associated with the tenant