Create Domain
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 |
Domain name, length 1-50, can include numbers, uppercase letters, lowercase letters, ., and -. |
sub.example.com |
| dkimSelector |
string |
No |
The selector field in the DKIM protocol, used to identify a specific public key. It is recommended to leave it blank, as the system will automatically generate it based on cluster information. If the user specifies it manually, for example, if the sending domain is "sub.example.com" and dkimSelector is set to "default", then the host record will be "default._domainkey.sub" Constraints:
|
default |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| DomainId |
string |
Domain ID |
158910 |
| RequestId |
string |
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.