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).
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"
}