Calls the DeleteDomainGroup operation to delete a domain name group based on input parameters.

Note A domain name group can be deleted only when it contains no domain names. The default group cannot be deleted.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DeleteDomainGroup

The operation that you want to perform. Set the value to DeleteDomainGroup.

GroupId String Yes 2223

The ID of the domain name group.

Lang String No en

The language type.

Response parameters

Parameter Type Example Description
GroupName String MyGroup

The name of the domain name group.

RequestId String 536E9CAD-DB30-4647-AC87-AA5CC38C5382

The ID of the request.

Examples

Sample requests


http(s)://alidns.aliyuncs.com/?Action=DeleteDomainGroup
&GroupId=2223
&<Common request parameters>

Sample success responses

XML format

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

JSON format

{
	"GroupName":"MyGroup",
	"RequestId":"536E9CAD-DB30-4647-AC87-AA5CC38C5382"
}

Error codes

For a list of error codes, visit the API Error Center.