---
title: "Delete URL‑endpoint"
method: DELETE
path: "/v1/accounts/url-endpoints/{id}"
tags: ["Account Management API", "URL endpoints"]
---

# Delete URL‑endpoint

`DELETE /v1/accounts/url-endpoints/{id}`

**Note:** This API is currently in beta.  
Deletes the URL‑endpoint identified by `id`. You cannot delete the default URL‑endpoint created by ImageKit during account creation.

## Path parameters

- `id` string, required — Unique identifier for the URL-endpoint. This is generated by ImageKit when you create a new URL-endpoint. For the default URL-endpoint, this is always `default`.

## Response `204`

URL‑endpoint deleted successfully.

## Other responses

- `400` — Bad request. The request body is invalid.
- `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)
