Modify the zone 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 |
zones | Integer | Required | Amount of allowed zones |
When the authentication of the API user is not correct, the API request will fail with the following status and statusDescription:
{"status":"Failed","statusDescription": "Invalid authentication, incorrect user ID or password."}
If the sub-user's ID is invalid or missing, the following status will be returned:
{"status":"Failed","statusDescription": "You don't have permission to do that."}
If there is no value added for "zones" or is missing, the following status will be returned:
{"status":"Failed","statusDescription": "The zones field values must be numeric"}
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-zones-limit.json
POST/GET: auth-id=0&auth-password=password&id=0&zones=100
URL XML: https://api.cloudns.net/sub-users/modify-zones-limit.xml
POST/GET: auth-id=0&auth-password=password&id=0&zones=100