Skip to content

Delete a note

DELETE
/notes/{query}
curl --request DELETE \
--url http://127.0.0.1:7677/notes/example \
--header 'Authorization: Bearer <token>'
query
required
string

Full UUID, 8+ char UUID prefix, or filename

Deleted

Media type application/json
object
data
object
id
required
string format: uuid
title
required
string
Example generated
{
"data": {
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"title": "example"
}
}

Note not found

Media type application/json
object
error
required
string
Example generated
{
"error": "example"
}