Claude Platform Docs

フェデレーションルールのワークスペースを削除

$ ant beta:organization:federation:rules:workspaces remove
DELETE/v1/organizations/federation_rules/{federation_rule_id}/workspaces/{workspace_id}

org:adminスコープを持つOAuthアクセストークンが必要です。このトークンはant auth login --scope org:adminまたはワークロードアイデンティティフェデレーションルールから取得します。Admin APIキーは受け付けられません。Admin APIでWIFを管理するを参照してください。

ワークスペースに対するフェデレーションルールを無効にします。

べき等です。有効化がすでに削除されている場合でも成功します。OAuth呼び出し元が管理できるのは、 oauth_scopeがworkspace:developerまたはworkspace:inferenceであるルールのみです。 その他のスコープにはConsoleセッションが必要です。

Parameters
--federation-rule-id: string⁠Path parameter

ID of the federation rule.

--workspace-id: string⁠Path parameter

ID of the workspace to disable for.

--beta: optional array of AnthropicBeta⁠Header parameter

Optional header to specify the beta version(s) you want to use.

Returns
BetaOrganizationFederationRuleWorkspaceRemoveResponse: object{ type: "federation_rule_workspace_deleted", federation_rule_id, workspace_id }
type: "federation_rule_workspace_deleted"
federation_rule_id: string

Tagged ID of the federation rule.

workspace_id: string

Tagged ID of the workspace named in the delete request. Removal is idempotent.

フェデレーションルールのワークスペースを削除
ant beta:organization:federation:rules:workspaces remove \
  --api-key my-anthropic-api-key \
  --federation-rule-id federation_rule_id \
  --workspace-id workspace_id
Returns Examples
Response 200
{
  "federation_rule_id": "federation_rule_id",
  "type": "federation_rule_workspace_deleted",
  "workspace_id": "workspace_id"
}