Delete (dismiss) an event
Required permissions: events:write.
Soft delete — the same action as dismissing the event in the Trayo app. Returns 200, not 204, with the event as it was, exactly like the other delete routes here; the proof is behavioral: this id now 404s and the event no longer appears in GET /v1/events under any state.
It stays deleted. Discovery deduplicates against every event in the workspace, deleted ones included, so a later run does not recreate it. Use this to tell Trayo an event was wrong or irrelevant; an event you merely ignore keeps counting toward the account's scores.
Not the same as state: dismissed. That state means Trayo withdrew the event. It is still readable with ?state=dismissed. A delete is yours, and is not readable afterwards.
Request
- Base URL: https://api.trayo.ai
- URL: https://api.trayo.ai/v1/events/{id}
- Auth: HTTP bearer
Path parameters
Response
The event as it existed immediately before deletion.
Changes
No recorded changes to this operation across all 1 revision of this API.