Domain admin
Create Domain Admin user
Using this endpoint you can create a new Domain Admin user. This user has full control over a domain, and can create new mailboxes and aliases.
post/api/v1/add/domain-admin
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",
"domains": "mailcow.tld",
"password": "supersecurepw",
"password2": "supersecurepw",
"username": "testadmin"
}Response
OK
Changes
No recorded changes to this operation across all 55 revisions of this API.