---
title: "Delete multiple annotations."
method: POST
path: "/annotations/mass-delete"
tags: ["annotations"]
---

# Delete multiple annotations.

`POST /annotations/mass-delete`

## Request

- Base URL: `/api` (relative, and the document’s source URL is not known)
- URL: `/api/annotations/mass-delete`
- Auth: one of:
  - HTTP basic
  - API key in header `Authorization`

## Request body

- MassDeleteAnnotationsCmd
  - `annotationId` integer
  - `dashboardId` integer
  - `dashboardUID` string
  - `panelId` integer

## Response `200`

An OKResponse is returned if the request was successful.

- SuccessResponseBody
  - `message` string

## Other responses

- `401`: UnauthorizedError is returned when the request is not authenticated.
- `500`: InternalServerError is a general error indicating something went wrong internally.

---

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