Skip to main content

Delete note

This endpoint deletes a specific note.

HTTP Request

DELETE https://api.lunatask.app/v1/notes/<id>

URL Parameters

ParameterDescription
idThe ID of the note to delete

Example in Ruby

require 'rest-client'

access_token = 'xxx'

RestClient.delete('https://api.lunatask.app/v1/notes/5999b945-b2b1-48c6-aa72-b251b75b3c2e', { Authorization: "bearer #{access_token}" })

Response

The request returns JSON structured like this:

{
"note": {
"id": "5999b945-b2b1-48c6-aa72-b251b75b3c2e",
"notebook_id": "d1ff35f5-6b25-4199-ab6e-c19fe3fe27f1",
"date_on": null,
"sources": [],
"created_at": "2021-01-10T10:39:25Z",
"updated_at": "2021-01-10T10:39:25Z",
}
}