Domains
Update domain
You 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 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