Calls the UpdateDomainGroup operation to change the name of a domain name group based on input parameters.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | UpdateDomainGroup |
The operation that you want to perform. Set the value to UpdateDomainGroup. |
GroupId | String | Yes | 2223 |
The ID of the domain name group. |
GroupName | String | Yes | NewName |
The new name of the domain name group. |
Lang | String | No | en |
The language type. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
GroupId | String | 2223 |
The ID of the domain name group. |
GroupName | String | NewName |
The new 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=UpdateDomainGroup
&GroupId=2223
&GroupName=NewName
&<Common request parameters>
Sample success responses
XML
format
<UpdateDomainGroupResponse>
<RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>
<GroupId>2223</GroupId>
<GroupName>NewName</GroupName>
</UpdateDomainGroupResponse>
JSON
format
{
"GroupName":"NewName",
"RequestId":"536E9CAD-DB30-4647-AC87-AA5CC38C5382",
"GroupId":"2223"
}
Error codes
For a list of error codes, visit the API Error Center.