Update an Inbound Data Filter
PUT /api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/filters/{filter_id}/
Update various inbound data filters for a project.
Path Parameters
organization_id_or_slug
(string)REQUIREDThe id or slug of the organization the resource belongs to.
project_id_or_slug
(string)REQUIREDThe id or slug of the project the resource belongs to.
filter_id
(string)REQUIREDThe type of filter toggle to update. The options are:
browser-extensions
- Filter out errors known to be caused by browser extensions.localhost
- Filter out events coming from localhost. This applies to both IPv4 (127.0.0.1
) and IPv6 (::1
) addresses.filtered-transaction
- Filter out transactions for healthcheck and ping endpoints.web-crawlers
- Filter out known web crawlers. Some crawlers may execute pages in incompatible ways which cause errors that are unlikely to be seen by a normal user.legacy-browser
- Filter out known errors from legacy browsers. Older browsers often give less accurate information, and while they may report valid issues, the context to understand them is incorrect or missing.
Body Parameters
active
(boolean)Toggle the browser-extensions, localhost, filtered-transaction, or web-crawlers filter on or off.
subfilters
(array(string))- choices:
- ie
- edge
- safari
- firefox
- chrome
- opera
- android
- opera_mini
- ie_pre_9
- ie9
- ie10
- ie11
- opera_pre_15
- android_pre_4
- safari_pre_6
- opera_mini_pre_8
- edge_pre_79
Specifies which legacy browser filters should be active. Anything excluded from the list will be disabled. The options are:
ie
- Internet Explorer Version 11 and loweredge
- Edge Version 18 and lowersafari
- Safari Version 11 and lowerfirefox
- Firefox Version 66 and lowerchrome
- Chrome Version 62 and loweropera
- Opera Version 50 and lowerandroid
- Android Version 3 and loweropera_mini
- Opera Mini Version 34 and lower
Deprecated options:
ie_pre_9
- Internet Explorer Version 8 and lowerie9
- Internet Explorer Version 9ie10
- Internet Explorer Version 10ie11
- Internet Explorer Version 11safari_pre_6
- Safari Version 5 and loweropera_pre_15
- Opera Version 14 and loweropera_mini_pre_8
- Opera Mini Version 8 and lowerandroid_pre_4
- Android Version 3 and loweredge_pre_79
- Edge Version 18 and lower (non Chromium based)
Scopes
You need to authenticate via bearer auth token.
<auth_token>
requires one of the following scopes:project:admin
project:write
curl https://sentry.io/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/filters/{filter_id}/ \ -H 'Authorization: Bearer <auth_token>' \ -X PUT \ -H 'Content-Type: application/json' \ -d '{}'
RESPONSE
No Content.