Checks whether a domain name exists.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cdn:CheckCdnDomainExist |
none |
*Domain
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DomainName |
string |
Yes |
The accelerated domain name. |
example.com |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
64D28B53-5902-409B-94F6-FD46680144FE |
| Status |
string |
The status of the domain name. Valid values:
|
DomainNotExist |
Examples
Success response
JSON format
{
"RequestId": "64D28B53-5902-409B-94F6-FD46680144FE",
"Status": "DomainNotExist"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | DomainExist.OtherUser | This domain is already added by another user. | |
| 400 | DomainExist.OtherProduct | This domain is already existed in %s. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.