Change the group which a domain name belongs to
Name | Data Type | Status | Description |
auth-id | Integer | Required | Authentication parameter |
auth-password | String | Required | Authentication parameter |
domain-name | String | Required | Domain name |
group-id | Integer | Required | ID of the relevant group. If value none is set for parameter "group-id", the domain name will be excluded from the group. |
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."}
If there isn't added a domain name:
{"status":"Failed","statusDescription":"Missing domain-name"}
Note: These are example errors in JSON format.
URL JSON: https://api.cloudns.net/domains/change-group.json
POST/GET: auth-id=0&auth-password=password&domain-name=name&group-id=0
URL XML: https://api.cloudns.net/domains/change-group.xml
POST/GET: auth-id=0&auth-password=password&domain-name=name&group-id=0