Changing Domain Name Groups

Last Updated: May 27, 2016

Description

Changes the domain name from the original group to the new group based on input parameters.

Request Parameters

Name Type Required? Description
Action String Yes Operator interface name, required parameter, value:AddDomain
DomainName String Yes Domain name
GroupId String Yes The ID of the destination domain name group

Return Parameters

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

Name Type Description
RequestId String The unique request identifier
GroupId String The ID of the destination domain name group
GroupName String The name of the destination 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
IncorrectDomainUser The domain name does not belong to this user. 400 The domain name does not exist under this account

Example

Request Example

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

Return Example

XML Format

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

JSON Example

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