---
title: "Delete an entity using its ID"
method: DELETE
path: "/api/entities/{id}"
tags: ["Entities"]
---

# Delete an entity using its ID

`DELETE /api/entities/{id}`

## Request

- Base URL: `https://your-server`
- URL: `https://your-server/api/entities/{id}`
- Auth: OAuth 2
  - Authorization code: `/oauth/authorize`
  - Token URL: `/oauth/token`
- TypeScript: <https://skmtc.dev/sitecore/apis/entities-api/docs/api/entities/:id/delete.ts> (a function with typed inputs; its response is checked against the schema)

Deletes an entity with the specified ID.

## Path parameters

- `id` integer, required

## Response `200`

Entity successfully deleted

## Other responses

- `401`: Unauthorized request
- `404`: Entity not found or user not authorized

---

[API](https://skmtc.dev/sitecore/apis/entities-api.md) - [All operations](https://skmtc.dev/sitecore/apis/entities-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sitecore/apis/entities-api/revisions/328bbdd51028?raw)
