/v0/notes/:id/reaction (DELETE)
DELETE
/v0/notes/:id/reaction
const url = 'http://localhost:3000/v0/notes/:id/reaction';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/reaction \ --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
Reaction not found
Media type application/json
object
error
required
You did not react to this note
string
Example
{ "error": "NOT_REACTED"}Internal Server Error
Media type application/json
Internal Error
object
error
required
Internal Error
string
Example
{ "error": "INTERNAL_ERROR"}