---
title: "Delete frontend custom domain"
method: DELETE
path: "/projects/{id}/frontends/{frontendId}/domain"
tags: ["Frontends"]
deprecated: true
---

# Delete frontend custom domain

`DELETE /projects/{id}/frontends/{frontendId}/domain`

## Request

- Base URL: `https://api.volcano.dev`
- URL: `https://api.volcano.dev/projects/{id}/frontends/{frontendId}/domain`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

> **Deprecated.**

Deprecated: use `DELETE /projects/{id}/frontends/{frontendId}/domains/{domain}`.
Deletes the frontend's custom domain. A frontend with several domains
returns `409`; name the one to delete on the collection route.

## Path parameters

- `id` string, uuid, required
- `frontendId` string, uuid, required

## Response `204`

Custom domain detach scheduled

## Other responses

- `400`: Bad request - invalid identifier
- `401`: Unauthorized - invalid or missing token
- `403`: Forbidden - project ownership required
- `404`: Frontend or custom domain not found
- `409`: The custom domain switched TLS mode while the request ran, so send it again, another domain of the frontend redirects to it, or the frontend has several domains.
- `500`: Internal server error

## Changes

- **2026-10-26** `4b0676e06128`: 1 info
  - endpoint deprecated
- **2026-10-14** `d8d8f53d847b`: 1 info
  - added the non-success response with the status `409`
- **2026-10-07** `23e7875e7c4c`: 1 info
  - the endpoint scheme security `ProjectAccessToken` was added to the API
- **2026-09-19** `3a6f365f3f35`: 7 breaking, 10 info
  - added the new path request parameter `frontendId`
  - added the new path request parameter `id`
  - the response's body type changed from no type to `object` for status `400`
  - the response's body type changed from no type to `object` for status `401`
  - …13 more
- **2026-08-27** `bb44e98aba2e`: 10 breaking, 7 warning
  - the response's body type changed from `object` to no type for status `400`
  - the response's body type changed from `object` to no type for status `401`
  - the response's body type changed from `object` to no type for status `403`
  - the response's body type changed from `object` to no type for status `404`
  - …13 more

[Operation history](https://skmtc.dev/kong/apis/volcano-api/changes/projects/:id/frontends/:frontendId/domain/delete.md)

---

[API](https://skmtc.dev/kong/apis/volcano-api.md) - [All operations](https://skmtc.dev/kong/apis/volcano-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kong/apis/volcano-api/revisions/84c4488f91e9?raw)
