Calls the AddDomainGroup operation to add a domain name group based on input parameters.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | AddDomainGroup |
The operation that you want to perform. Set the value to AddDomainGroup. |
GroupName | String | Yes | MyGroup |
The 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 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=AddDomainGroup
&GroupName=MyGroup
&<Common request parameters>
Sample success responses
XML
format
<AddDomainGroupResponse>
<RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>
<GroupId>2223</GroupId>
<GroupName>NewName</GroupName>
</AddDomainGroupResponse>
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.