# Delete custom domain

{% hint style="success" %}
**Access Type:** Domains - Editor
{% endhint %}

In this article, we will cover how to delete a custom domain from your organization's account via the Didomi console. The steps involved in deleting a custom domain differ slightly depending on whether the [usage for the custom domain](/organization-and-account-settings/domains/domain-usage.md) is for serving the Didomi SDK or serving a hosted page.

{% hint style="info" %}
Only custom domains with a **Ready**, **Draft,** or **Failed** status can be deleted.
{% endhint %}

Click **My organization** in the header and select **Organization settings** from the drop-down menu.

<figure><img src="/files/FCHJab40y4bwexB9nEGt" alt="" width="563"><figcaption></figcaption></figure>

Ensure the **Domains** tab is selected and navigate to a custom domain on the subsequent list with a **Ready**, **Draft**, or **Failed** status.

Click the **Delete** icon inline with the custom domain.

<figure><img src="/files/zDCaXqVhpkCCcv1MmQV1" alt="" width="563"><figcaption></figcaption></figure>

<table><thead><tr><th width="219">Usage</th><th>Deletion requirements</th></tr></thead><tbody><tr><td>Serve a hosted page</td><td>Detach the custom domain from the widget before proceeding with the deletion.</td></tr><tr><td>Serve the Didomi SDK</td><td>No deletion requirements.</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.didomi.io/organization-and-account-settings/domains/delete-custom-domain.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
