Restore a dismissed recommendation
Auth: Authorization: Bearer nsin_… or X-Api-Key: nsin_… — see API keys.
Undoes your dismissal of one checklist item on this domain, so it shows
again if it still applies. Restoring an item that was never dismissed
is not an error. Only your own dismissal is affected. Requires
domain.view.
Query parameters
- domainstringrequiredquery
The domain name (for example
example.com). These endpoints take the domain as a query parameter rather than a path segment.
Request body
Content type: application/json · required
- keystringrequired
Responses
200Restored.
Content type: application/json
- okbooleanOne of:
true
{
"ok": true
}400Missing domain, or missing key in the body.
Content type: application/json
- errorstringrequired
Human-readable description of what went wrong.
{
"error": "read-only API key"
}401Missing, malformed, revoked or expired API key. (A valid key whose
account has been deactivated gets 403 account is inactive instead.)
Content type: application/json
- errorstringrequired
Human-readable description of what went wrong.
{
"error": "invalid API key"
}403The key is read-only and this endpoint is a write. Read-only keys may
only issue GET, HEAD and OPTIONS.
Content type: application/json
- errorstringrequired
Human-readable description of what went wrong.
{
"error": "read-only API key"
}404No such domain, or it is not visible to this account. Domains you cannot access are reported as not found rather than forbidden.
Content type: application/json
- errorstringrequired
Human-readable description of what went wrong.
{
"error": "read-only API key"
}429The key exceeded its request budget (300 requests per minute by default).
Content type: application/json
- errorstringrequired
Human-readable description of what went wrong.
{
"error": "rate limit exceeded"
}Example request
curl -X DELETE "https://api.nsin.ir/recommendations/dismiss?domain=example.com" \
-H "Authorization: Bearer $NSIN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"key": "string"
}'