class

Anthropic::BetaOrganizationFederationRules

Inherits Reference < Object

Federation rules.

Constructors

new(client : Client)
Source

Instance methods

archive(federation_rule_id : String) : BetaFederationRule

Archive a federation rule.

Source
create(issuer_id : String, match : BetaFederationRuleMatch | Hash(String, JSON::Any), name : String, oauth_scope : String, target : JSON::Any | Hash(String, JSON::Any), applies_to_all_workspaces : Bool | Nil = nil, attributes : Hash(String, String) | Nil = nil, description : String | Nil = nil, token_lifetime_seconds : Int64 | Nil = nil, workspace_id : String | Nil = nil) : BetaFederationRule

Create a federation rule.

Source
list(include_archived : Bool | Nil = nil, issuer_id : String | Nil = nil, limit : Int32 = 20, page : String | Nil = nil) : BetaFederationRuleListResponse

List federation rules.

Source
retrieve(federation_rule_id : String) : BetaFederationRule

Retrieve a federation rule by ID.

Source
update(federation_rule_id : String, applies_to_all_workspaces : Bool | Nil = nil, attributes : Hash(String, String) | Nil = nil, description : String | Nil = nil, match : BetaFederationRuleMatch | Hash(String, JSON::Any) | Nil = nil, name : String | Nil = nil, oauth_scope : String | Nil = nil, target : JSON::Any | Hash(String, JSON::Any) | Nil = nil, token_lifetime_seconds : Int64 | Nil = nil, workspace_id : String | Nil = nil) : BetaFederationRule

Update a federation rule.

Source
workspaces
Source