Claude Platform Docs

移除 Plugin 安裝設定

$ ant beta:organization:plugins:installation-settings remove
DELETE/v1/organizations/plugins/{plugin_id}/installation_settings/{target}

移除組織擁有的 Plugin 針對整個組織或單一 RBAC 群組本身的安裝設定。

移除 organization 目標會使 Plugin 回到其市集的預設安裝設定,並保留各群組的設定。移除某個群組的設定後,該群組的成員會改為套用 Plugin 的全組織設定,或其所屬其他群組的設定。

若目標本身沒有設定,會傳回 404(已繼承其市集預設值的 Plugin 沒有 organization 設定),成員擁有的 Plugin 也會傳回 404。

移除操作也算是 Plugin 的安裝設定寫入之一:請一次傳送一個此類寫入請求。若同一個 Plugin 同時收到多個請求,伺服器會依序處理,並可能對其中部分請求回應 503 及 x-should-retry: true 而不套用;請等待一兩秒後再次傳送移除請求。若重試時收到 404,表示該設定已被移除。

接受的憑證:具有 write:plugins 範圍的 Admin API 金鑰。

每個請求都必須包含 beta 標頭 anthropic-beta: ce-plugins-2026-09-01。缺少此標頭的請求會傳回 404,與端點不存在時完全相同。Plugins API 目前為 beta 版,僅供 Claude Enterprise 組織使用。Claude Platform(Claude Console)組織或已啟用 HIPAA 就緒功能的組織無法使用。

Parameters
--plugin-id: string⁠Path parameter

ID of the Plugin (prefixed plugin_).

--target: string⁠Path parameter

The target whose own setting is removed: the literal organization for the Plugin's organization-wide setting, or an RBAC Group's ID (prefixed rbac_group_) for that group's own setting. Removing the organization setting returns the Plugin to its marketplace's default.

--beta: optional array of AnthropicBeta⁠Header parameter

This endpoint is in beta: requests must send ce-plugins-2026-09-01 in this header.

Returns
beta_deleted_plugin_installation_setting: object{ type: "plugin_installation_setting_deleted", plugin_id, target }

Confirmation that one target's installation setting was removed, naming the Plugin and the target in place of an ID.

type: "plugin_installation_setting_deleted"

Always plugin_installation_setting_deleted.

plugin_id: string

The Plugin's ID.

One of the following:
beta_plugin_target_organization: object{ type: "organization" }
type: "organization"

Every member of the organization.

beta_plugin_target_rbac_group: object{ type: "rbac_group", rbac_group_id }
type: "rbac_group"

An RBAC Group.

rbac_group_id: string

The RBAC Group's ID.

beta_plugin_target_organization_member: object{ type: "organization_member", user_id }
type: "organization_member"

One member of the organization.

user_id: string

The member's User ID.

移除 Plugin 安裝設定
ant beta:organization:plugins:installation-settings remove \
  --api-key my-anthropic-api-key \
  --plugin-id plugin_id \
  --target target
Returns Examples
Response 200
{
  "plugin_id": "plugin_01JyHfbRkZvD1gW7oTqXc3Ne",
  "target": {
    "rbac_group_id": "rbac_group_012rppKaSVsmTo6NqRDXQXNF",
    "type": "rbac_group"
  },
  "type": "plugin_installation_setting_deleted"
}