Remove a deal bookmark
/deals/{deal_id}/bookmarkRemoves the token's acting user's bookmark from the deal and returns 204, also when the deal was not bookmarked. Only the acting user's bookmark: a user_id in the query returns 422 missing. An unknown deal, or one the token can't see, returns 404. dry_run shows the result without saving it. Emits deal.unbookmarked, with the acting user as the actor, only when a bookmark was removed; it also queues the platform's favourite event to the event queue. Sends no email. PUT /deals/{deal_id}/bookmark undoes it.
Path parameters
The deal's id, a uuid. An unknown deal, or one the token can't see, returns 404.
Query parameters
Validate and run the call without committing it, returning what the real call would return with
meta.dry_runset.
Responses
The deal is not bookmarked by the acting user.
Authorization failed. error.code is one of org_disabled,
ip_blocked, missing_scope, scope_disabled, user_disabled.
Examples
curl -X DELETE https://your-org-domain/kong/core/api/v2/deals/{deal_id}/bookmark\
-H "Authorization: Bearer $HELM_API_KEY"\
-H "Content-Type: application/json"