DELETE /notifications/{id} — delete one of the caller's notifications.
DELETE
/api/notifications/{id}
const url = 'https://example.com/api/notifications/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = {method: 'DELETE'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://example.com/api/notifications/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string format: uuid
Responses
Section titled “Responses”Media typeapplication/json
{"deleted": true} — a delete acknowledgement. deleted is false only when
the row was already gone (a few idempotent deletes report the affected-rows count
as a boolean).
object
deleted
required
Whether a row was deleted.
boolean
Examplegenerated
{ "deleted": true}