Update manager
/api/managers/{manager_code}Updates manager limits, password, assigned domains, and delivery assignments.
Authorization
api_key API token used to authenticate requests.
In: header
Path Parameters
Manager code: MN followed by 8 digits. Example: MN12345678.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Maximum assigned hosting domains. -1 means no limit.
int32Maximum assigned Delivery domains. -1 means no limit.
int32Maximum assigned Delivery accounts. -1 means no limit.
int32Maximum assigned email accounts. -1 means no limit.
int32Maximum assigned archived email accounts. -1 means no limit.
int32Maximum assigned 25GB email accounts. -1 means no limit.
int32Maximum assigned 50GB email accounts. -1 means no limit.
int32Maximum assigned 100GB email accounts. -1 means no limit.
int32Maximum 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 | 107374182400New manager password. Must be at least 8 characters long and contain at least one letter and one number.
Must match password.
Hosting domain codes assigned to the manager. Empty array removes all assigned domains.
Delivery account ids assigned to the manager. Empty array removes all assigned Delivery accounts.
Response Body
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/api/managers/string" \ -H "X-Api-Token: YOUR_API_TOKEN" \ -H "Accept: application/json" \ -H "Content-Type: application/json" \ -d '{}'{
"message": "Unauthorized",
"errors": []
}{
"message": "Forbidden",
"errors": []
}{
"message": "Not found",
"errors": []
}{
"message": "Validation failed",
"errors": [
{
"field": "name",
"description": "is not valid"
}
]
}