---
title: "Delete Annotation"
method: DELETE
path: "/api/sites/{site}/annotations/{annotationId}"
tags: ["Annotations"]
---

# Delete Annotation

`DELETE /api/sites/{site}/annotations/{annotationId}`

## Request

- Base URL: `https://app.onyxmetric.com`
- URL: `https://app.onyxmetric.com/api/sites/{site}/annotations/{annotationId}`
- Auth: one of:
  - HTTP bearer
  - API key in query parameter `api_key`
  - API key in cookie `better-auth.session_token`

Permanently deletes an annotation.

## Path parameters

- `site` union, required
  - integer
  - string
- `annotationId` string, required

## Response `200`

Successful response. Refer to the linked endpoint documentation for the response fields.

- unknown

## Other responses

- `400`: Invalid request
- `401`: Authentication required
- `403`: Insufficient permission
- `404`: Resource not found
- `429`: Rate limit exceeded
- `500`: Unexpected server error

---

[API](https://skmtc.dev/onyxmetric/apis/onyxmetric-api.md) · [All operations](https://skmtc.dev/onyxmetric/apis/onyxmetric-api/llms.txt) · [OpenAPI document](https://skmtc.dev/onyxmetric/apis/onyxmetric-api/revisions/c99014014805?raw)
