Deleting Domain Name Groups

Last Updated: May 27, 2016

Description

Deletes the name of the domain name group based on input parameters.
Note: The domain name group may only be deleted if it contains 0 domain name. The default domain name group cannot be deleted.

Request Parameters

Name Type Required? Description
Action String Yes Operator interface name, required parameter, value:DeleteDomainGroup
GroupId String Yes ID of the domain name group

Return Parameters

Public return parameters. For details, see Public Return Parameters.

Name Type Description
RequestId String The unique request identifier
GroupName String The name of the domain name group

Error Codes

For errors common to all interfaces, please refer to the Error Code Table.

Error Code Description HTTP Status Code Language
InvalidDomainGroup.NotExist The domain group name is not exist. 400 The domain name group does not exist
Fobidden.DefaultGroup The default domain group can’t be deleted. 400 The default domain name group cannot be deleted
Fobidden.NotEmptyGroup The domain group can’t be deleted because it is not empty. 400 Domain name groups that contain domain names cannot be deleted

Example

Request Example

http://dns.aliyuncs.com/?Action=DeleteDomainGroup
&GroupId=2223
&<Public Request Parameters>

Return Example

XML Format

<DeleteDomainGroupResponse>
    <RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>
    <GroupName>MyGroup</GroupName>
</DeleteDomainGroupResponse>

JSON Example

{
    "RequestId": "536E9CAD-DB30-4647-AC87-AA5CC38C5382",
    "GroupName": "MyGroup"
}
Thank you! We've received your feedback.