Calls the ChangeDomainGroup operation to move a domain name from the original group to the new group based on input parameters.

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 ChangeDomainGroup

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

DomainName String Yes abc.com

The domain name.

GroupId String No 2223

The ID of the target domain name group.

Lang String No en

The language type.

Response parameters

Parameter Type Example Description
GroupId String 2223

The ID of the target domain name group.

GroupName String MyGroup

The name of the target domain name group.

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

The ID of the request.

Examples

Sample requests


http(s)://alidns.aliyuncs.com/?Action=ChangeDomainGroup
&DomainName=abc.com
&<Common request parameters>

Sample success responses

XML format

<ChangeDomainGroupResponse>
      <RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>
      <GroupId>2223</GroupId>
      <GroupName>MyGroup</GroupName>
</ChangeDomainGroupResponse>

JSON format

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

Error codes

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