Modify the mail forwards limit of a sub user
Name | Data Type | Status | Description |
auth-id | Integer | Required | Authentication parameter |
auth-password | String | Required | Authentication parameter |
id | Integer | Required | Sub user's ID |
mail-forwards | Integer | Required | Amount of allowed mail forwards |
When the authentication of API user is not correct, any API request will fail with the following status and statusDescription:
{"status":"Failed","statusDescription":"Invalid authentication, incorrect auth-id or auth-password."}
If the sub user's ID is invalid, the following status will be returned:
{"status":"Failed","statusDescription":"You don't have permission to do that."}
If there is not added a value for "mail-forwards", the following status will be returned::
{"status":"Failed","statusDescription":"The amount of mail forwards must be a number."}
Note: These are example errors in JSON format, and these are not the only errors that can be displayed.
URL JSON: https://api.cloudns.net/sub-users/modify-mail-forwards-limit.json
POST/GET: auth-id=0&auth-password=password&id=0&mail-forwards=10
URL XML: https://api.cloudns.net/sub-users/modify-mail-forwards-limit.xml
POST/GET: auth-id=0&auth-password=password&id=0&mail-forwards=10