20 Domains API: How to delete a domain

This is a series of articles dedicated to demonstrating how to get acquainted with Openprovider Domains API methods. To get more information about our API in general, please use our documentation portal as your reference.

When you delete a domain, you immediately terminate your registration of that domain name. In case of registered domains with status ACT, this will result in a deletion at the registry.

NB Keep in mind that not all TLDs have support for a reactivation option and when available this option can be expensive.

Openprovider doesn’t provide a refund if you have a remaining registration period for your domain. However, domains with status FAI can be deleted to release the amount from your account balance held in reserve for registration.

Learn more about expiration policies here.

Entering Geo Fence iconUse endpoint path below. Base URL is determined by both the target environment and API version.
DEL {base_url}/domains/{id}

REQUEST VALUES

Name Type Description
domain string Required.
id   Required.
type string Optional. Applies only to certain TLDs (e.g. .de)

REQUEST EXAMPLE

curl -X DELETE \
'https://api.openprovider.eu/v1beta/domains/12345?domain.name=domain&domain.extension=com' \
-H 'Authorization: ,Bearer 2f4c1c3a9******15d22b378a64' \

RESPONSE EXAMPLE

{
"code": 0,
"data": {
"status": "ACT"
},
"desc": ""
}

Restoring a deleted domain

Keep in mind that domain deletion has the following consequences:

  • Visitors of your domain don’t see your website if one exists
  • Email addresses associated with this domain stops working
  • DNS stops serving
  • Other people can purchase your domain after a grace period

Was this article helpful?
0 out of 0 found this helpful