Create manager
/api/managersCreates a manager and assigns the requested domains and limits.
Authorization
api_key API token used to authenticate requests.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Manager email address.
Manager first name.
Manager last name.
Manager password. Must be at least 8 characters long and contain at least one letter and one number.
Must match password.
Manager company name.
Maximum assigned hosting domains. -1 means no limit.
int32Default -1Maximum assigned email accounts. -1 means no limit.
int32Default -1Maximum assigned archived email accounts. -1 means no limit.
int32Default -1Maximum assigned 25GB email accounts. -1 means no limit.
int32Default -1Maximum assigned 50GB email accounts. -1 means no limit.
int32Default -1Maximum assigned 100GB email accounts. -1 means no limit.
int32Default -1Maximum email quota in bytes for accounts managed by this manager.
52428800= 50 MB.1073741824= 1 GB.2147483648= 2 GB.3221225472= 3 GB.4294967296= 4 GB.5368709120= 5 GB.6442450944= 6 GB.7516192768= 7 GB.8589934592= 8 GB.17179869184= 16 GB.26843545600= 25 GB.53687091200= 50 GB.107374182400= 100 GB.
int32Values 52428800 | 1073741824 | 2147483648 | 3221225472 | 4294967296 | 5368709120 | 6442450944 | 7516192768 | 8589934592 | 17179869184 | 26843545600 | 53687091200 | 107374182400Hosting domain codes assigned to the manager.
Allow catch-all handling for assigned domains.
trueResponse Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/managers" \ -H "X-Api-Token: YOUR_API_TOKEN" \ -H "Accept: application/json" \ -H "Content-Type: application/json" \ -d '{ "email_address": "string", "firstname": "string", "lastname": "string", "password": "string", "password_confirmation": "string" }'{
"message": "string",
"resource_code": "string"
}{
"message": "Unauthorized",
"errors": []
}{
"message": "Forbidden",
"errors": []
}{
"message": "Not found",
"errors": []
}{
"message": "Validation failed",
"errors": [
{
"field": "name",
"description": "is not valid"
}
]
}