Reject keyword suggestion(s)
Pass suggestionId to reject one suggestion, or keywordId to reject all pending suggestions for a keyword. Answers rejectedCount and rejectedSuggestionIds on both branches, so a bulk dismissal reports what it dismissed rather than a bare success (rejecting is terminal — accept/reject act only on pending suggestions).
Authorizations
Clerk API key. Create one in Settings → API Keys. Pass as Authorization: Bearer <key>.
Body
- Option 1
- Option 2
Reject a single suggestion or all suggestions for a keyword.
Suggestion id to reject.
-9007199254740991 <= x <= 9007199254740991Response
200 response
The suggestion(s) were dismissed. rejectedCount / rejectedSuggestionIds name what actually left pending, which is the only way to tell a no-op from a bulk dismissal.
How many suggestions this call moved from pending to rejected. 0 is the affirmative 'there was nothing pending' — the request still succeeded.
-9007199254740991 <= x <= 90071992547409913
Ids of the suggestions this call dismissed, ascending. Always present; [] when nothing was pending.
-9007199254740991 <= x <= 9007199254740991