---
title: "Delete origin"
method: DELETE
path: "/v1/accounts/origins/{id}"
tags: ["Account Management API", "Origins"]
---

# Delete origin

`DELETE /v1/accounts/origins/{id}`

**Note:** This API is currently in beta.  
Permanently removes the origin identified by `id`. If the origin is in use by any URL‑endpoints, the API will return an error.

## Path parameters

- `id` string, required — Unique identifier for the origin. This is generated by ImageKit when you create a new origin.

## Response `204`

Origin deleted successfully.

## Other responses

- `401` — Unauthorized request.
- `403` — Forbidden.
- `404` — Resource not found
- `429` — The request exceeded the rate limit. Contains headers indicating the limits and a message detailing the error.

---

[API](https://skmtc.dev/imagekit-developer/apis/imagekit-api.md) · [All operations](https://skmtc.dev/imagekit-developer/apis/imagekit-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/imagekit-developer/imagekit-api/revisions/bb3e9ff84b3e/schema)
