Modifying Domain Name Groups

Last Updated: May 27, 2016

Description

Edits the name of the domain name group based on input parameters.

Request Parameters

Name Type Required? Description
Action String Yes Operator interface name, required parameter, value:UpdateDomainGroup
GroupId String Yes ID of the domain name group
NewName String Yes The new 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.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
InvalidDomainGroup.NotExist The domain group name is not exist. 400 The domain name group does not exist

Example

Request Example

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

Return Example

XML Format

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

JSON Example

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