Configures the default domain name for an Alibaba Cloud account.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ram:SetDefaultDomain |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DefaultDomainName |
string |
Yes |
The default domain name. The default domain name is in the format of The default domain name can contain up to 64 characters in length. The default domain name can contain letters, digits, periods (.), underscores (_), and hyphens (-). Note
The default domain name cannot start or end with a hyphen (-) and cannot contain two consecutive hyphens (-). |
examplecompany.onaliyun.com |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| DefaultDomainName |
string |
The default domain name. |
examplecompany.onaliyun.com |
| RequestId |
string |
The request ID. |
66815255-7CCE-4759-AC37-9755794C3626 |
Examples
Success response
JSON format
{
"DefaultDomainName": "examplecompany.onaliyun.com",
"RequestId": "66815255-7CCE-4759-AC37-9755794C3626"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.