Add an error rule
ignore drops new errors whose message or stack contains pattern, ignoring case. mute ignores an issue until a date, a count of further occurrences, or whichever comes first, then reopens it.
An API token from POST /v2/tokens (at_live_...), or a project's secret key (sk_...) for server-side ingest.
In: header
Path Parameters
The project id, as listed by GET /v2/projects.
1 <= lengthAn ignore pattern, or a mute for one issue. A mute needs until, count or both, and until must be in the future.
TypeScript Definitions
Use the request body type in TypeScript.
An ignore pattern, or a mute for one issue. A mute needs until, count or both, and until must be in the future.
An ignore pattern, or a mute for one issue. A mute needs until, count or both, and until must be in the future.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v2/projects/string/error-rules" \ -H "Content-Type: application/json" \ -d '{ "kind": "ignore", "field": "stack", "pattern": "chrome-extension://" }'{ "data": { "id": "mute_iss_42", "kind": "mute", "field": null, "pattern": null, "issue": "iss_42", "until": null, "remaining": 100, "createdAt": null }}