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

# Delete a note

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

## Paths

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

## Description

Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.

Delete a note from a Timeline using the note ID.

## Authentication

- Api key: `Authorization: <value>`
  These APIs use key-based authentication. You must create an API key and use the encoded value in the request header. For example: `Authorization: ApiKey base64AccessApiKey`
- Basic: `Authorization: Basic <credentials>`

## 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"
  }'
```

