Zones

Description

Get the zone names the sub user has access to.


 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

Return: Array with status and status description or array with the zone names.


Errors

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 API Sub-User's ID is invalid, the following status will be returned:

{"status":"Failed","statusDescription":"Missing sub user"}/p>

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/zones.json
POST/GET: auth-id=0&auth-password=password&id=0

URL XML: https://api.cloudns.net/sub-users/zones.xml
POST/GET: auth-id=0&auth-password=password&id=0


Last modified: 2020-01-13
Cookies giúp chúng tôi phân phối các dịch vụ. Khi sử dụng dịch vụ của chúng tôi, bạn cũng đồng ý với việc chúng tôi sử dụng cookies. Tìm hiểu thêm