DELETE /api/note

Spaces method and path for this operation:

delete /s/{space_id}/api/note

Refer to Spaces for more information.

Deletes notes by saved object ID. Send either noteId (single ID) or noteIds (array of IDs) in the JSON body.

The response has HTTP 200 with an empty body on success.

Requires the Timeline and Notes write privilege (notes_write).

application/json

Body object | null Required

Exactly one shape: { "noteId": "<id>" } for a single delete, or { "noteIds": ["<id>", ...] } for bulk delete. noteIds may be null in some clients; prefer an empty array or omit unused fields when possible.

One of:

Responses

  • 200

    The notes were deleted successfully. Response body is empty.

DELETE /api/note
curl \
 --request DELETE 'https://<KIBANA_URL>/api/note' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{"noteId":"709f99c6-89b6-4953-9160-35945c8e174e"}'
Request example
{
  "noteId": "709f99c6-89b6-4953-9160-35945c8e174e"
}