class

Anthropic::BetaOrganizationServiceAccountWorkspaces

Inherits Reference < Object

Workspaces attached to a service account.

Constructors

new(client : Client)
Source

Instance methods

add(service_account_id : String, workspace_id : String, workspace_role : String) : BetaServiceAccountWorkspaceMember

Attach a service account to a workspace.

Source
list(service_account_id : String, limit : Int32 = 20, page : String | Nil = nil) : BetaServiceAccountWorkspaceMemberListResponse

List workspaces a service account belongs to.

Source
remove(service_account_id : String, workspace_id : String) : BetaDeletedServiceAccountWorkspaceMember

Remove a service account from a workspace.

Source