Skip to main content

Delete a suggestion

DELETE 

/api/v1/suggestions/:id_suggestion

Remove a suggestion permanently.

Dismiss instead, in most cases

Dismissing (PUT with dismissed: true) is reversible and is what the user interface does when someone sets a suggestion aside. Delete is for a feeder retracting an event that should never have been sent — a meeting cancelled, a record fed in error.

Deletes cannot be undone

This action is irreversible and cannot be undone. Please be certain you want to delete the suggestion before proceeding.

An accepted suggestion cannot be deleted​

A suggestion with actualized: true is refused with a 409, for two reasons. The entry it produced still refers to it, so deleting would break that link. And an accepted suggestion is training data: it records which codes a person really chose for an event, which is what sharpens later predictions. Dismiss it instead.

Required abilities

Your own suggestions, or those of a user you hold a timekeeping ability over. Over a Bearer token this needs the jx:suggestions:write scope.

Request​

Responses​

The object was successfully deleted. The response body is empty.