All Products
Search
Document Center

Edge Security Acceleration:VerifyDcdnDomainOwner

Last Updated:Oct 17, 2024

Verifies the ownership of a domain name.

Operation description

Note You can call this operation up to 100 times per second per account.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
DomainNamestringYes

The domain name of which you want to verify the ownership. You can specify only one domain name in each call.

**example**.com
VerifyTypestringYes

The verification method. Valid values:

  • dnsCheck: by DNS record
  • fileCheck: by verification file
dnsCheck

Response parameters

ParameterTypeDescriptionExample
object
Contentstring

The verification result.

verify_dffeb6610035dcb77b413a59c32cd9**
RequestIdstring

The ID of the request.

34AB41F1-04A5-496F-8C8D-634BDBE6A9FB

Examples

Sample success responses

JSONformat

{
  "Content": "verify_dffeb6610035dcb77b413a59c32cd9**",
  "RequestId": "34AB41F1-04A5-496F-8C8D-634BDBE6A9FB"
}

Error codes

HTTP status codeError codeError messageDescription
400DomainOwnerVerifyFailOwner verification of the root domain failed.The first time a domain name is added to DCDN, you must prove the ownership of the domain name. You must add a DNS record or upload a verification file for the domain name before it can be added to DCDN.

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2023-03-16The Error code has changedView Change Details