---
title: "Delete domain"
method: DELETE
path: "/api/domains/{id}"
tags: ["Domains"]
---

# Delete domain

`DELETE /api/domains/{id}`

Delete domain by ID.

## Path parameters

- `id` string, required

## Response `204`

The domain was deleted successfully.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — The domain with the specified ID was not found.

---

[API](https://skmtc.net/logto/apis/logto-api-references.md) · [All operations](https://skmtc.net/logto/apis/logto-api-references/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/logto/logto-api-references/versions/a163dc77d842/schema)
