---
title: "Delete a Custom Domain"
method: DELETE
path: "/relays/{relay_id}/custom-domains/{id}"
tags: ["Core", "Relays"]
---

# Delete a Custom Domain

`DELETE /relays/{relay_id}/custom-domains/{id}`

## Request

- Base URL: `https://api.evervault.com`
- URL: `https://api.evervault.com/relays/{relay_id}/custom-domains/{id}`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/evervault/apis/evervault-api/docs/relays/:relay_id/custom-domains/:id/delete.ts> (a function with typed inputs; its response is checked against the schema)

Deletes a custom domain for a [Relay](/relay). This action cannot be undone.

## Path parameters

- `relay_id` string, required
- `id` string, required

## Response `202`

The custom domain has been deleted

---

[API](https://skmtc.dev/evervault/apis/evervault-api.md) - [All operations](https://skmtc.dev/evervault/apis/evervault-api/llms.txt) - [OpenAPI document](https://skmtc.dev/evervault/apis/evervault-api/revisions/8d0ca833fa04?raw)
