Change group

Description

Change the group which a DNS zone belongs to


Parameters

Name Data Type Status Description
auth-id Integer Required Authentication parameter
auth-password String Required Authentication parameter
domain-name String Required Domain name of the DNS zone
group-id Integer Required ID of the relevant group. If value none is set for parameter "group-id", the DNS zone will be excluded from the group.

Return: Array with status and status description.


Errors

When the authenctication 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."}

In case the credentials of API sub user are invalid, the following status and statusDescription will be returned:

If there isn't added a domain name for the DNS zone:

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

Note: These are example errors in JSON format.


Example

URL JSON: https://api.cloudns.net/dns/change-group.json
POST/GET: auth-id=0&auth-password=password&domain-name=name&group-id=0

URL XML: https://api.cloudns.net/dns/change-group.xml
POST/GET: auth-id=0&auth-password=password&domain-name=name&group-id=0


Last modified: 2022-12-05
Mit dem Betreten und Verwenden dieser Webseite erklären Sie sich damit einverstanden, dass die Webseite cloudns.net und alle dazugehörigen Subdomains Cookies verwenden. Das ist nötig, um ein optimales Nutzererlebnis zu gewährleisten. Erfahren Sie mehr