# Verify domain ownership (deprecated)

This function indicates whether the account's domains can pass a Domain Control
Validation (DCV) check.

Warning:

We deprecated this function. Use UAPI's DCV::check_domains_via_http function.

Endpoint: GET /DCV/ensure_domains_can_pass_dcv
Version: 11.138.0.10
Security: BasicAuth

## Query parameters:

  - `domain` (string, required)
    The domains to check.

Note:

 To check multiple domains, duplicate or increment the parameter name. For example,
 domain-1, domain-2, and domain-3.

## Response 200 fields (application/json):

  - `apiversion` (integer)
    The version of the API.
    Example: 3

  - `func` (string)
    The name of the method called.
    Example: "ensure_domains_can_pass_dcv"

  - `module` (string)
    The name of the module called.
    Example: "DCV"

  - `result` (object)

  - `result.data` (array)
    A list of results from each domain parameter's DCV check.

* null — The domain passes the DCV check.

Note:

The function returns the results from the domains in the same order
in which you called them.
    Example: [null,null,"The domain resolves to Mars. Beep beep beep."]

  - `result.errors` (array,null)
    List of errors if the API failed.

  - `result.messages` (array,null)
    List of messages generated by the API.

  - `result.metadata` (object)

  - `result.metadata.transformed` (integer)
    Post-processing may have transformed the data.
    Enum: 1

  - `result.status` (integer)
    * 1 — Success.
* 0 — Failed. Check the errors field for more details.
    Enum: 1, 0

  - `result.warnings` (array,null)
    List of warnings generated by the API. Warnings describe non-critical failures or other problematic conditions noted while running a API.


