--- method: DELETE path: /api/media-items/:id/annotations/:annotationId auth: jwt area: media-items --- # Purge Deleted Annotation **Permanent** — removes a tombstoned annotation from history entirely. Kind comes from the required `annotation_type` query parameter (`highlight` | `note` | `bookmark`; no body fallback on DELETE). ## Example request ```text DELETE /api/media-items/550e8400-.../annotations/440e8400-...?annotation_type=highlight ``` ## Example response ```json example-response { "purged": true } ``` ## Errors | Status | Body | When | | ------ | ---- | ---- | | 400 | `{"error": "annotation_type must be highlight, note, or bookmark"}` | missing/invalid kind | | 404 | `{"error": "deleted annotation not found"}` | nothing tombstoned under that id | | 500 | `{"error": "failed to purge annotation"}` | unexpected server error | | 503 | `{"error": "annotation service unavailable"}` | service not constructed |