Web Analytics

Delete an annotation

POST https://demo.notifuse.com/api/annotations.delete

Deletes an annotation, automatic ones included — a broadcast annotation cannot come back by accident, since its broadcast has already started. Requires the web_analytics write permission.

Authorizations

Authorization string header required

Bearer authentication header of the form Bearer <token>, where <token> is your API key.

Body application/json

workspace_id string required
  • Example: ws_1234567890
id string required
  • Example: 3f2504e04f8911d39a0c0305e82c3301

Response

200 Annotation deleted. A body rather than a 204, so a delete is never indistinguishable from a proxy swallowing the response. object
success boolean
  • Example: true
400 Bad request - unparseable body, missing id, or the instance runs in demo mode. object
error string required

Error message

401 Unauthorized - invalid or missing authentication token object
error string required

Error message

403 Forbidden - missing required permission object
error string required

Error message

404 No annotation with that ID in this workspace object
error string required

Error message

500 Internal server error object
error string required

Error message