---
type: api
title: Delete a note
description: **Spaces method and path for this operation:**
url: https://www.elastic.co/elastic/docs-builder/docs/4641/api/doc/kibana/v8/operation/operation-deletenote
resource: https://www.elastic.co/elastic/docs-builder/docs/4641/api/doc/kibana/v8/operation/operation-deletenote
products:
  - Kibana
---

# Delete a note

Authentication: required

- Server: `https://{kibana_url}`

## Paths

- `DELETE` `/api/note`
- `DELETE` `/s/{space_id}/api/note`

#### Path parameters

- `space_id` (string) — optional
  An identifier for the space. If `space_id` is not provided in the URL, the default space is used. Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.

## Description

Delete a note from a Timeline using the note ID.

## Request body

The ID of the note to delete.

`application/json`

One of:
- **{ noteId }**
  - `noteId` (string) — required
- **{ noteIds }**
  - `noteIds` (string[]) — required — nullable

## Response

Indicates the note was successfully deleted.

`application/json`

- `data` (object)
## Code examples

#### Console

```console
DELETE kbn:/api/note
{
  "noteId": "string"
}
```

#### curl

```curl
curl -X DELETE "${KIBANA_URL}/api/note" \
  -H "Authorization: ApiKey ${API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "noteId": "string"
  }'
```

## Response examples

#### 200

`application/json`

Generated from the API spec. Values are representative. Unions use the first variant; deeply nested or large bodies may omit fields.

```json
{
  "data": {}
}
```

