Delete a note Beta

DELETE /api/note

Delete a note from a Timeline using the note ID.

application/json; Elastic-Api-Version=2023-10-31

Body object | null Required

The ID of the note to delete.

Responses

  • 200 application/json; Elastic-Api-Version=2023-10-31

    Indicates the note was successfully deleted.

    Hide response attribute Show response attribute object
    • data object

      Additional properties are allowed.

DELETE /api/note
curl \
 -X DELETE https://localhost:5601/api/note \
 -H "Content-Type: application/json; Elastic-Api-Version=2023-10-31"
Request examples
{
  "noteId": "string"
}
{
  "noteIds": [
    "string"
  ]
}
Response examples (200)
{
  "data": {}
}