Creates a domain name.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dm:CreateDomain |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DomainName |
string |
Yes |
The domain name. The value must be 1 to 50 characters in length and can contain digits, uppercase letters, lowercase letters, periods (.), and hyphens (-). |
sub.example.com |
| dkimSelector |
string |
No |
The selector field in the DomainKeys Identified Mail (DKIM) protocol, which is used to identify a specific public key. Leave this parameter empty. The system automatically generates a value based on the cluster information. If you manually specify a value, for example, if the sending domain name is sub.example.com and the dkimSelector is set to default, the host record is default._domainkey.sub. Constraints:
|
default |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| DomainId |
string |
The domain name ID. |
158910 |
| RequestId |
string |
The request ID. |
B49AD828-25D1-488C-90B7-8853C1944486 |
Examples
Success response
JSON format
{
"DomainId": "158910",
"RequestId": "B49AD828-25D1-488C-90B7-8853C1944486"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.