Home / Servers / Sentry API / delete_organization_issues

Bulk Remove an Organization's Issues

An MCP tool from the Sentry API server, hosted on mcp.hjlabs.in.

Bulk Remove an Organization's Issues Permanently remove the given issues. If IDs are provided, queries and filtering will be ignored. If any IDs are out of scope, the data won't be mutated but the endpoint will still produce a… [DELETE /api/0/organizations/{organization_id_or_slug}/issues/]

Name on the gateway: sentry_api__delete_organization_issues · may change things.

Parameters

NameTypeDescription
organization_id_or_slug requiredstringThe ID or slug of the organization the resource belongs to.
environmentarrayThe name of environments to filter by.
projectarrayThe IDs or slugs of projects to filter by. Project slugs are unique within…
idarrayThe list of issue IDs to be removed. If not provided, it will attempt to…
statsPeriodstringThe period of time for the query, will override the start & end parameters, a…
startstringThe start of the period of time for the query, expected in ISO-8601 format.…
endstringThe end of the period of time for the query, expected in ISO-8601 format. For…
querystringAn optional search query for filtering issues. A default query will apply if…
viewIdstringThe ID of the view to use. If no query is present, the view's query and…
sortdate | freq | inbox | new | recommended | trends | userThe sort order of the view. Options include 'Last Seen' (date), 'First Seen'…
limitintegerThe maximum number of issues to affect. The maximum is 100.

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "sentry_api__delete_organization_issues",
  "arguments": {
    "organization_id_or_slug": "…"
  }
}

Or connect the Sentry API server directly, which lists 272 tools including this one:

Run in your terminal
claude mcp add --transport http hj-sentry-api https://mcp.hjlabs.in/mcp/sentry-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the bulk remove an organization's issues tool with organization_id_or_slug set to ….

More from Sentry API