tencent cloud

DokumentasiTencent Cloud EdgeOne

VerifyOwnership

Unduh
Mode fokus
Ukuran font
Terakhir diperbarui: 2026-11-25 16:58:22

1. API Description

Domain name for API request: teo.intl.tencentcloudapi.com.

In CNAME access mode, you need to verify the ownership of the site or domain name. This API is used to trigger the verification. If the site passes ownership verification, no need to verify again when adding domains subsequently. For details, see Site/Domain Name Ownership Verification.

In NS access mode, you can also query through this API whether the NS server switch is successful. For details, see Modify DNS Server.

A maximum of 20 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.

Parameter Name Required Type Description
Action Yes String Common Params. The value used for this API: VerifyOwnership.
Version Yes String Common Params. The value used for this API: 2022-09-01.
Region No String Common Params. This parameter is not required.
Domain Yes String Site domain name or acceleration domain name under the site.

3. Output Parameters

Parameter Name Type Description
Status String Ownership verification result.
  • success: Verification succeeded;
  • fail: verification failed.
  • Result String When the verification result is failed, this field will return the reason to help you troubleshoot the problem.
    RequestId String The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.

    4. Example

    Example1 Verifying Domain Ownership for CNAME Access

    Validate ownership of the domain test.example.com.

    Input Example

    POST / HTTP/1.1
    Host: teo.intl.tencentcloudapi.com
    Content-Type: application/json
    X-TC-Action: VerifyOwnership
    <Common request parameters>
    
    {
        "Domain": "test.example.com"
    }

    Output Example

    {
        "Response": {
            "Status": "success",
            "Result": "",
            "RequestId": "9kl50bew-89ga-44f4-91ce-78125d53vd2a"
        }
    }

    Example2 Verifying Site Ownership for CNAME Access

    Validate ownership of the site example.com (site ID: zone-xxxxx).

    Input Example

    POST / HTTP/1.1
    Host: teo.intl.tencentcloudapi.com
    Content-Type: application/json
    X-TC-Action: VerifyOwnership
    <Common request parameters>
    
    {
        "Domain": "example.com"
    }

    Output Example

    {
        "Response": {
            "Status": "fail",
    "Result": "Parse xx to get the content of type xx: xx.\n Access http://xxx/.. Parse xx. Unable to connect"
            "RequestId": "9kl50bew-89ga-44f4-91ce-78125d53vd2a"
        }
    }

    Example3 Query whether the DNS server has been switched successfully during NS access.

    Verify whether the DNS server of example.com has been switched successfully.

    Input Example

    POST / HTTP/1.1
    Host: teo.intl.tencentcloudapi.com
    Content-Type: application/json
    X-TC-Action: VerifyOwnership
    <Common request parameters>
    
    {
        "Domain": "example.com"
    }

    Output Example

    {
        "Response": {
            "Status": "fail",
    "Result": "The DNS server of the current domain is xxx, which does not match the expected server xxx"
            "RequestId": "9kl50bew-89ga-44f4-91ce-78125d53vd2a"
        }
    }

    5. Developer Resources

    SDK

    TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

    Command Line Interface

    6. Error Code

    The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.

    Error Code Description
    InternalError.RouteError Backend service routing address error.
    OperationDenied.ResourceLockedTemporary Currently there are parallel request operations that repel each other. Please try again later.
    ResourceNotFound The resource does not exist.

    Bantuan dan Dukungan

    Apakah halaman ini membantu?

    masukan