# Verify Domain Ownership

SSL Certificates / Verify Domain Ownership

## Verify domain ownership via DNS

 - [POST /DCV/check_domains_via_dns](https://api.docs.cpanel.net/specifications/cpanel.openapi/verify-domain-ownership/check_domains_via_dns.md): This function checks whether the account's domains can pass Domain Control Validation (DCV) via a DNS request.

## Verify domain ownership via HTTP

 - [GET /DCV/check_domains_via_http](https://api.docs.cpanel.net/specifications/cpanel.openapi/verify-domain-ownership/check_domains_via_http.md): This function checks whether the account's domains can pass Domain Control Validation (DCV) via an HTTP request.

## Verify domain ownership (deprecated)

 - [GET /DCV/ensure_domains_can_pass_dcv](https://api.docs.cpanel.net/specifications/cpanel.openapi/verify-domain-ownership/ensure_domains_can_pass_dcv.md): 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.

