Update User
http
PUT /cranemail/domains/{domain}/users/{username}
Changes only the fields given; the rest keep their current values.
Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| new_username | string | No | Rename the mailbox |
| password | string | No | New password |
| display_name | string | No | Updated name |
| disk_limit | integer | No | Updated quota in MB |
| admin | boolean | No | Domain admin toggle |
| enabled | boolean | No | Enable/disable |
Response
json
{ "message": "User updated." }