Home / Servers / Sentry API / update_organization

Update an Organization

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

Update an Organization Update various attributes and configurable settings for the given organization. [PUT /api/0/organizations/{organization_id_or_slug}/]

Name on the gateway: sentry_api__update_organization · may change things.

Parameters

NameTypeDescription
organization_id_or_slug requiredstringThe ID or slug of the organization the resource belongs to.
slugstringThe new slug for the organization, which needs to be unique.
namestringThe new name for the organization.
isEarlyAdopterbooleanSpecify true to opt-in to new features before they're released to the public.
hideAiFeaturesbooleanSpecify true to hide AI features from the organization.
defaultRolemember | admin | manager | ownerThe default role new members will receive. * member - Member * admin - Admin *…
openMembershipbooleanSpecify true to allow organization members to freely join any team.
eventsMemberAdminbooleanSpecify true to allow members to delete events (including the delete & discard…
alertsMemberWritebooleanSpecify true to allow members to create, edit, and delete alert rules by…
attachmentsRolemember | admin | manager | ownerThe role required to download event attachments, such as native crash reports…
debugFilesRolemember | admin | manager | ownerThe role required to download debug information files, ProGuard mappings and…
hasGranularReplayPermissionsbooleanSpecify true to enable granular replay permissions, allowing per-member access…
replayAccessMembersarrayA list of user IDs who have permission to access replay data. Requires the…
avatarTypeletter_avatar | uploadThe type of display picture for the organization. * letter_avatar - Use…
avatarstringThe image to upload as the organization avatar, in base64. Required if…
require2FAbooleanSpecify true to require and enforce two-factor authentication for all members.
allowSharedIssuesbooleanSpecify true to allow sharing of limited details on issues to anonymous users.
enhancedPrivacybooleanSpecify true to enable enhanced privacy controls to limit personally…
scrapeJavaScriptbooleanSpecify true to allow Sentry to scrape missing JavaScript source context when…
storeCrashReports0 | 1 | 5 | 10 | 20 | 50 | 100 | -1How many native crash reports (such as Minidumps for improved processing and…
allowJoinRequestsbooleanSpecify true to allow users to request to join your organization.
dataScrubberbooleanSpecify true to require server-side data scrubbing for all projects.
dataScrubberDefaultsbooleanSpecify true to apply the default scrubbers to prevent things like passwords…
sensitiveFieldsarrayA list of additional global field names to match against when scrubbing data…
safeFieldsarrayA list of global field names which data scrubbers should ignore.
scrubIPAddressesbooleanSpecify true to prevent IP addresses from being stored for new events on all…
relayPiiConfigstringAdvanced data scrubbing rules that can be configured for each project as a…
trustedRelaysarrayA list of local Relays (the name, public key, and description as a JSON)…
relayDsnEndpointstringA Relay base URL to use when displaying Client Key DSNs for this organization.
issueAlertsThreadFlagbooleanSpecify true to allow the Sentry Slack integration to post replies in threads…
metricAlertsThreadFlagbooleanSpecify true to allow the Sentry Slack integration to post replies in threads…
cancelDeletionbooleanSpecify true to restore an organization that is pending deletion.
apdexThresholdintegerDeprecated. Response-time threshold in milliseconds previously used to compute…

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__update_organization",
  "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 update an organization tool with organization_id_or_slug set to ….

More from Sentry API