Skip to content

Delete a note by id

DELETE
/notes/by-id/{id}
curl --request DELETE \
--url https://api.engram.page/notes/by-id/example \
--header 'Authorization: Bearer <token>'

Deletes the note with the given UUID. Returns 400 for a malformed UUID and 404 when no such note exists.

id
required
string

Note UUID

Deleted

Media typeapplication/json
DeletedFlag
object
deleted
required
boolean
Example
{
"deleted": true
}

Invalid UUID

Media typeapplication/json
Error
object
errors
One of:
string
Examplegenerated
{
"errors": {}
}

No such note

Media typeapplication/json
Error
object
errors
One of:
string
Examplegenerated
{
"errors": {}
}