Delete group

Description

Delete a certain group of yours.


Parameters

Name Data Type Status Description
auth-id or sub-auth-id or sub-auth-user Integer Required Authentication parameter
auth-password String Required Authentication parameter
group-id Integer Required ID of the relevant group

Return: Array with status and status description if the deletion of the group is successful or not.


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:

{"status":"Failed","statusDescription":"Invalid authentication, incorrect sub-auth-id, sub-auth-user or auth-password."}

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

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

Note: These are example errors in JSON format.


Example

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

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


Cookies help us deliver our services. By using our services, you agree to our use of cookies. Learn more