Skip to main content

Dismiss a suggestion series

POST 

/api/v1/suggestions/:id_suggestion/series/dismiss

Dismiss every occurrence of a recurring event, and keep future occurrences dismissed as they arrive.

This is the "stop suggesting my daily standup" operation. Dismissing one occurrence at a time would not stop tomorrow's from appearing; this records the disposition against the series itself.

The ID in the URL is a suggestion, not a series

POST /api/v1/suggestions/23/series/dismiss names suggestion 23. The series acted on is whichever one that suggestion belongs to.

This surprises people, and it is deliberate: a client holding one occurrence rarely knows the series identifier, and this way it does not need to.

If the suggestion belongs to no series, the action affects that one suggestion. The series_id in the response is null in that case, which is how you can tell the two outcomes apart.

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 series was dismissed.