Delegate new zone

Description

Delegate zone management to a sub-user


 Parameters

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 The name of the zone

Return: Confirmation of successful delegation


Possible errors (example)

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 DNS zone is already delegated to this API sub-user, the following status will be returned:

{"status":"Failed","statusDescription": "The zone DOMAIN.COM was delegated to sub-auth-id NUMBER."}

If you fill in an invalid DNS zone or the parameter is missing, the following status will be returned:

{"status":"Failed","statusDescription": "Missing domain-name"}

Note: These are example errors in JSON format, and these are not the only errors that can be displayed.


Example

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


Last modified: 2025-05-15
Cookies help us deliver our services. By using our services, you agree to our use of cookies. Learn more