Domains
Create domain
Changed onYou may create your own domain using this action. It takes a JSON object containing a domain informations.
post/api/v1/add/domain
Request
- Base URL/ (relative, and the document was published on a file host, not at the API’s origin)
- AuthAPI key in header X-API-Key
Request body
Example request
{
"active": "1",
"aliases": "400",
"backupmx": "0",
"defquota": "3072",
"description": "some decsription",
"domain": "domain.tld",
"mailboxes": "10",
"maxquota": "10240",
"quota": "10240",
"relay_all_recipients": "0",
"rl_frame": "s",
"rl_value": "10",
"restart_sogo": "10",
"tags": [
"tag1",
"tag2"
]
}Response
OK
Changes
- breaking
the response's body type changed from
objecttoarrayfor status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- breaking
- warning
removed the request property
- info
added the new optional request property
- warning