Claude Platform Docs

プラグインインストール設定の削除

$client->beta->organization->plugins->installationSettings->remove(string target, string pluginID, ?list<AnthropicBeta> betas): BetaDeletedPluginInstallationSetting
DELETE/v1/organizations/plugins/{plugin_id}/installation_settings/{target}
Requires anthropic-beta: ce-plugins-2026-09-01. How to send beta headers

組織所有のプラグインについて、組織全体または1つのRBACグループに対する独自のインストール設定を削除します。

organization 対象を削除すると、プラグインはマーケットプレイスのデフォルトのインストール設定に戻り、グループの設定はそのまま残ります。グループの設定を削除すると、そのグループのメンバーにはプラグインの組織全体の設定、または所属する他のグループの設定が適用されます。

独自の設定を保持していない対象は404を返します(マーケットプレイスのデフォルトをすでに継承しているプラグインは organization 設定を保持していません)。メンバー所有のプラグインも同様です。

削除はプラグインのインストール設定の書き込みの1つとして扱われます。これらの書き込みはすべて1つずつ送信してください。同じプラグインに対して複数の書き込みが同時に届いた場合、サーバーはそれらを順番に処理し、一部を適用せずに 503 と x-should-retry: true で応答することがあります。1~2秒待ってから削除を再送信してください。再送信で 404 が返された場合は、設定がすでに削除されていることを意味します。

受け入れられる認証情報: write:plugins スコープを持つAdmin APIキー。

すべてのリクエストにベータヘッダー anthropic-beta: ce-plugins-2026-09-01 を含める必要があります。含まれていないリクエストは、エンドポイントが存在しない場合とまったく同じく 404 を返します。Plugins APIはベータ版であり、Claude Enterprise組織のみが利用できます。Claude Platform(Claude Console)組織、またはHIPAA対応が有効になっている組織では利用できません。

Parameters
pluginID: 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.

betas?: optional list<AnthropicBeta>⁠Header parameter

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

Returns
class BetaDeletedPluginInstallationSetting { $type = 'plugin_installation_setting_deleted'; $pluginID; $target; }
"plugin_installation_setting_deleted" type

Always plugin_installation_setting_deleted.

string pluginID

The Plugin's ID.

Target target

Whose setting was removed.

プラグインインストール設定の削除
<?php

require_once dirname(__DIR__) . '/vendor/autoload.php';

use Anthropic\Client;
use Anthropic\Beta\AnthropicBeta;

$client = new Client(apiKey: 'my-anthropic-api-key');

$betaDeletedPluginInstallationSetting = $client
  ->beta
  ->organization
  ->plugins
  ->installationSettings
  ->remove(
  'target',
  pluginID: 'plugin_id',
  betas: [AnthropicBeta::MESSAGE_BATCHES_2024_09_24],
);

var_dump($betaDeletedPluginInstallationSetting);
Returns Examples
Response 200
{
  "plugin_id": "plugin_01JyHfbRkZvD1gW7oTqXc3Ne",
  "target": {
    "rbac_group_id": "rbac_group_012rppKaSVsmTo6NqRDXQXNF",
    "type": "rbac_group"
  },
  "type": "plugin_installation_setting_deleted"
}