class

Anthropic::BetaOrganizationFederationRuleWorkspaces

Inherits Reference < Object

Workspaces a workload identity federation rule is enabled for.

Access via client.beta.organization.federation.rules.workspaces.

Constructors

new(client : Client)
Source

Instance methods

add(federation_rule_id : String, workspace_id : String, betas : Array(String) = [] of String) : BetaFederationRuleWorkspace

Enable a federation rule for a workspace.

Idempotent; re-enabling returns the existing enablement.

Source
list(federation_rule_id : String, limit : Int32 = 20, page : String | Nil = nil, betas : Array(String) = [] of String) : BetaFederationRuleWorkspaceListResponse

List the workspaces a federation rule is enabled for.

Source
remove(federation_rule_id : String, workspace_id : String, betas : Array(String) = [] of String) : BetaDeletedFederationRuleWorkspace

Disable a federation rule for a workspace.

Idempotent; succeeds even if the enablement was already removed.

Source