/v0/notes/:id/bookmark (DELETE)
DELETE
/v0/notes/:id/bookmark
const url = 'http://localhost:3000/v0/notes/:id/bookmark';const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url http://localhost:3000/v0/notes/:id/bookmark \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
Note ID
string
Example
1Note ID
Responses
Section titled “ Responses ”OK
Bookmark not found
Media type application/json
object
error
required
Note not found
string
Example
{ "error": "NOTE_NOT_FOUND"}Internal Server Error
Media type application/json
Internal Error
object
error
required
Internal Error
string
Example
{ "error": "INTERNAL_ERROR"}