Moves a domain name to a new group.
Operation description
You can specify the ID of a domain name group (GroupId). The All Domains group contains all domain names, while the Default group contains domain names that are not assigned to any group.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
alidns:ChangeDomainGroup |
update |
*domain
*group
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the response. Valid values:
Default: en. |
en |
| DomainName |
string |
Yes |
The domain name. Call DescribeDomains to obtain the domain name. |
example.com |
| GroupId |
string |
No |
The ID of the target domain name group.
|
60bb3ef15ace449082cf914ed3ea**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| GroupName |
string |
The name of the target domain name group. |
MyGroup |
| RequestId |
string |
The request ID. |
536E9CAD-DB30-4647-AC87-AA5CC38C5382 |
| GroupId |
string |
The ID of the target domain name group. |
60bb3ef15ace449082cf914ed3ea**** |
Examples
Success response
JSON format
{
"GroupName": "MyGroup",
"RequestId": "536E9CAD-DB30-4647-AC87-AA5CC38C5382",
"GroupId": "60bb3ef15ace449082cf914ed3ea****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.