edit-icon download-icon

Adding Domain Name Groups

Last Updated: May 27, 2016

Description

Adds domain name group based on input parameters.

Request Parameters

Name Type Required? Description
Action String Yes Operator interface name, required parameter, value:AddDomainGroup
GroupName String Yes The name 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
GroupId String Domain name group ID
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
QuotaExceeded.GroupCount The domain group count has been out of MAX count (100). 400 The domain name group count has exceeded the limit
QuotaExceeded.GroupNameLength The domain group name length has been out of MAX count (20). 400 The length of the group name has exceeded the limit
InvalidDomainGroup.Duplicate The domain group name is duplicated. 400 The group name already exists
InvalidDomainGroup.EmptyName The domain group name is empty. 400 The group name is empty

Example

Request Example

http://dns.aliyuncs.com/?Action=AddDomainGroup
&GroupName=MyGroup
&<Public Request Parameters>

Return Example

XML Format

<AddDomainGroupResponse>
    <RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>
    <GroupId>2223</GroupId>
    <GroupName>NewName</GroupName>
</AddDomainGroupResponse>

JSON Example

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