Skip to main content
DELETE
Reject keyword suggestion(s)

Authorizations

Authorization
string
header
required

Clerk API key. Create one in Settings → API Keys. Pass as Authorization: Bearer <key>.

Body

application/json

Reject a single suggestion or all suggestions for a keyword.

suggestionId
integer
required

Suggestion id to reject.

Required range: -9007199254740991 <= x <= 9007199254740991

Response

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.

success
boolean
required
rejectedCount
integer
required

How many suggestions this call moved from pending to rejected. 0 is the affirmative 'there was nothing pending' — the request still succeeded.

Required range: -9007199254740991 <= x <= 9007199254740991
Example:

3

rejectedSuggestionIds
integer[]
required

Ids of the suggestions this call dismissed, ascending. Always present; [] when nothing was pending.

Required range: -9007199254740991 <= x <= 9007199254740991
Example: