Domains
Update domain
Changed onYou can update one or more domains per request. You can also send just attributes you want to change. Example: You can add domain names to items list and in attr object just include "active": "0" to deactivate domains.
post/api/v1/edit/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
{
"attr": {
"active": "1",
"aliases": "400",
"backupmx": "1",
"defquota": "3072",
"description": "domain description",
"gal": "1",
"mailboxes": "10",
"maxquota": "10240",
"quota": "10240",
"relay_all_recipients": "0",
"relayhost": "2",
"tags": [
"tag3",
"tag4"
]
},
"items": "domain.tld"
}Response
OK
Changes
- breaking
the
request property type changed fromobjecttoarray - breaking
removed the media type
*/*for 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
/ - info
added the new optional request property
/ - info
added the media type
application/jsonfor the response with the status
- breaking
- warning
removed the request property
/
- warning