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
| Name | Type | Description |
|---|---|---|
organization_id_or_slug required | string | The ID or slug of the organization the resource belongs to. |
slug | string | The new slug for the organization, which needs to be unique. |
name | string | The new name for the organization. |
isEarlyAdopter | boolean | Specify true to opt-in to new features before they're released to the public. |
hideAiFeatures | boolean | Specify true to hide AI features from the organization. |
defaultRole | member | admin | manager | owner | The default role new members will receive. * member - Member * admin - Admin *… |
openMembership | boolean | Specify true to allow organization members to freely join any team. |
eventsMemberAdmin | boolean | Specify true to allow members to delete events (including the delete & discard… |
alertsMemberWrite | boolean | Specify true to allow members to create, edit, and delete alert rules by… |
attachmentsRole | member | admin | manager | owner | The role required to download event attachments, such as native crash reports… |
debugFilesRole | member | admin | manager | owner | The role required to download debug information files, ProGuard mappings and… |
hasGranularReplayPermissions | boolean | Specify true to enable granular replay permissions, allowing per-member access… |
replayAccessMembers | array | A list of user IDs who have permission to access replay data. Requires the… |
avatarType | letter_avatar | upload | The type of display picture for the organization. * letter_avatar - Use… |
avatar | string | The image to upload as the organization avatar, in base64. Required if… |
require2FA | boolean | Specify true to require and enforce two-factor authentication for all members. |
allowSharedIssues | boolean | Specify true to allow sharing of limited details on issues to anonymous users. |
enhancedPrivacy | boolean | Specify true to enable enhanced privacy controls to limit personally… |
scrapeJavaScript | boolean | Specify true to allow Sentry to scrape missing JavaScript source context when… |
storeCrashReports | 0 | 1 | 5 | 10 | 20 | 50 | 100 | -1 | How many native crash reports (such as Minidumps for improved processing and… |
allowJoinRequests | boolean | Specify true to allow users to request to join your organization. |
dataScrubber | boolean | Specify true to require server-side data scrubbing for all projects. |
dataScrubberDefaults | boolean | Specify true to apply the default scrubbers to prevent things like passwords… |
sensitiveFields | array | A list of additional global field names to match against when scrubbing data… |
safeFields | array | A list of global field names which data scrubbers should ignore. |
scrubIPAddresses | boolean | Specify true to prevent IP addresses from being stored for new events on all… |
relayPiiConfig | string | Advanced data scrubbing rules that can be configured for each project as a… |
trustedRelays | array | A list of local Relays (the name, public key, and description as a JSON)… |
relayDsnEndpoint | string | A Relay base URL to use when displaying Client Key DSNs for this organization. |
issueAlertsThreadFlag | boolean | Specify true to allow the Sentry Slack integration to post replies in threads… |
metricAlertsThreadFlag | boolean | Specify true to allow the Sentry Slack integration to post replies in threads… |
cancelDeletion | boolean | Specify true to restore an organization that is pending deletion. |
apdexThreshold | integer | Deprecated. 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:
{
"name": "sentry_api__update_organization",
"arguments": {
"organization_id_or_slug": "…"
}
}Or connect the Sentry API server directly, which lists 272 tools including this one:
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 ….