Claude Platform Docs

移除插件安装设置

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

移除组织所有插件针对整个组织或某个 RBAC 组的自身安装设置。

移除 organization 目标会使插件恢复为其市场的默认安装设置,并保留各组的设置。移除某个组的设置会使该组成员回退到插件的组织范围设置或其所属其他组的设置。

如果目标没有自身的设置,则返回 404(已继承其市场默认设置的插件没有 organization 设置);成员所有的插件同样返回 404。

移除操作也算作插件的一次安装设置写入:请逐个发送所有此类写入请求。如果同一插件的多个请求同时到达,服务器会依次处理它们,并可能对其中一些返回 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.

移除插件安装设置
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"
}