Rename group

Description

Rename a certain group of yours.


Parameters

Name Data Type Status Description
auth-id Integer Required Authentication parameter
auth-password String Required Authentication parameter
group-id Integer Required ID of the relevant group
new-name String Required New name for 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."}

If there isn't added a parameter for group-id or the ID is incorrect:

{"status":"Failed","statusDescription":"Missing group."}

If there isn't added a new name for the group:

{"status":"Failed","statusDescription":"Missing group name"}

Note: These are example errors in JSON format.


Example

URL JSON: https://api.cloudns.net/domains/rename-group.json
POST/GET: auth-id=0&auth-password=password&group-id=0&new-name=name

URL XML: https://api.cloudns.net/domains/rename-group.xml
POST/GET: auth-id=0&auth-password=password&group-id=0&new-name=name


Last modified: 2019-05-31
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