プラグインマーケットプレイスの更新
POST/v1/organizations/plugin_marketplaces/{marketplace_id}
組織自身のプラグインマーケットプレイスの1つについて、デフォルトのインストール設定を設定します。そのマーケットプレイス内で独自の設定を持たないすべてのプラグイン(後から追加されるプラグインを含む)は、このデフォルトを組織全体の設定として受け取ります。
default_installation_preference として渡します。メンバーの個人用マーケットプレイスはここでは更新できません(403)。
受け入れられる認証情報: write:plugins スコープを持つAdmin APIキー。
すべてのリクエストにベータヘッダー anthropic-beta: ce-plugins-2026-09-01 を含める必要があります。含まれていないリクエストは、エンドポイントが存在しない場合とまったく同じく 404 を返します。Plugins APIはベータ版であり、Claude Enterprise組織のみが利用できます。Claude Platform(Claude Console)組織、またはHIPAA対応が有効になっている組織では利用できません。
Parameters
Returns
プラグインマーケットプレイスの更新
import os
from anthropic import Anthropic
client = Anthropic(
api_key=os.environ.get(
"ANTHROPIC_API_KEY"
), # This is the default and can be omitted
)
beta_plugin_marketplace = client.beta.organization.plugin_marketplaces.update(
marketplace_id="marketplace_id",
default_installation_preference="available",
)
print(beta_plugin_marketplace.id)Response 200
{
"id": "marketplace_01HxQ3v9KpZ2mTn8RwLc4Ys7",
"created_at": "2026-03-14T09:26:53.589793Z",
"default_installation_preference": "available",
"last_sync_ended_at": "2026-03-14T09:26:53.589793Z",
"last_sync_read_sha": "9fceb02d0ae598e95dc970b74767f19372d61af8",
"name": "engineering-tools",
"owner": {
"type": "organization"
},
"source": "github",
"sync_status": "success",
"type": "plugin_marketplace"
}Returns Examples
Response 200
{
"id": "marketplace_01HxQ3v9KpZ2mTn8RwLc4Ys7",
"created_at": "2026-03-14T09:26:53.589793Z",
"default_installation_preference": "available",
"last_sync_ended_at": "2026-03-14T09:26:53.589793Z",
"last_sync_read_sha": "9fceb02d0ae598e95dc970b74767f19372d61af8",
"name": "engineering-tools",
"owner": {
"type": "organization"
},
"source": "github",
"sync_status": "success",
"type": "plugin_marketplace"
}