---
title: "DELETE /annotations/{id}"
method: DELETE
path: "/annotations/{id}"
tags: ["annotations"]
---

# DELETE /annotations/{id}

`DELETE /annotations/{id}`

## Request

- Base URL: `https://api.axiom.co/v2`
- URL: `https://api.axiom.co/v2/annotations/{id}`
- Auth: OAuth 2
  - Authorization code: `https://accounts.google.com/o/oauth2/v2/auth`
  - Token URL: `https://www.googleapis.com/oauth2/v4/token` scopes: `annotations|delete`
- TypeScript: <https://skmtc.dev/axiom/apis/axiom-public-api/docs/annotations/:id/delete.ts> (a function with typed inputs; its response is checked against the schema)

Deletes an annotation by its ID.

## Path parameters

- `id` string, required

## Response `204`

Annotation deleted.

## Other responses

- `400`: Invalid annotation ID.
- `404`: Annotation not found.

## Changes

- **2026-10-16** (v2) `fbc1b8430feb`: 2 info
  - added the non-success response with the status `400`
  - added the non-success response with the status `404`

[Operation history](https://skmtc.dev/axiom/apis/axiom-public-api/changes/annotations/:id/delete.md)

---

[API](https://skmtc.dev/axiom/apis/axiom-public-api.md) - [All operations](https://skmtc.dev/axiom/apis/axiom-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/axiom/apis/axiom-public-api/revisions/7e39a295e3ba?raw)
