How to Delete Domains
Validated on 03 July 2023 - Last edited on 03 July 2023
Adding a domain you own to your FibaCloud account lets you manage the domains DNS records with the control panel and API.
If you no longer want to manage the DNS records for a domain on FibaCloud, you can delete the domain. This removes the domain and its DNS records from the account, but it does not delete the domain name registration. The domain registrar manages registration.
Delete a Domain Using the API
How to delete a domain using the FibaCloud API
To delete a domain using the FibaCloud API, follow these steps:
- Submit a GET request for get Product ID and Domain IDs.
curl --request GET \
--url https://cloud.fibacloud.com/api/dns \
--header 'Authorization: Basic <credentials>' \
--header 'Content-Type: application/json'
- Take note of the Service ID and Domain ID information from the response.
- Submit a DELETE request to delete the Domain.
curl --request DELETE \
--url https://cloud.fibacloud.com/api/service/{service_id}/dns/{domain_id} \
--header 'Authorization: Basic <credentials>' \
--header 'Content-Type: application/json'
{
"info": [
"success"
]
}
Delete a Domain Using the Control Panel
Open the management page of your DNS Service from your Control Panel.
Open the Actions menu of the domain you want to delete, then click Delete. In the confirmation window, click YES Domain to permanently delete the domain and its records from the account.