POST /knowledge/suggestions/{id}/dismiss
Updated Oct 1, 20261 minute read
Dismiss a suggestion
No. The row stays, settled, so the same finding cannot come back.
Part of Knowledge.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | Yes | A suggestion id. |
Responses
| Status | Description |
|---|---|
200 | Done. |
401 | The bearer token is missing, revoked, or expired. |
404 | Not one of yours, or not there at all. |
409 | It already exists, or it was already settled. |
429 | Too many requests. Wait the seconds in Retry-After. Limits depend on the plan. See rate limits. |
200 body
| Field | Type | Required | Description |
|---|---|---|---|
ok | boolean | No |
Example response
{
"ok": true
}Example request
curl -X POST https://api.median.sh/v1/knowledge/suggestions/id/dismiss \
-H "Authorization: Bearer $BEARER_AUTH"