Delegate zone's management to 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 |
zone | String | Required | Name of the zone. |
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 DNS zone is already delegated to another API Sub-user, the following status will be returned:
{"status":"Failed","statusDescription":"The zone is already delegated to another sub user."}/p>
If you have entered an invalid DNS zone, the following status will be returned:
{"status":"Failed","statusDescription":"Missing domain-name"}/p>
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/delegate-zone.json
POST/GET: auth-id=0&auth-password=password&id=0&zone=domain.com
URL XML: https://api.cloudns.net/sub-users/delegate-zone.xml
POST/GET: auth-id=0&auth-password=password&id=0&zone=domain.com