> For the complete documentation index, see [llms.txt](https://docs.didomi.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.didomi.io/organization-and-account-settings/domains/delete-custom-domain.md).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
