class

Anthropic::BetaOrganizationWorkspaceServiceAccounts

Inherits Reference < Object

Service accounts attached to a workspace.

Constructors

new(client : Client)
Source

Instance methods

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

Attach a service account to a workspace.

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

List service accounts attached to a workspace.

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

Remove a service account from a workspace.

Source
retrieve(workspace_id : String, service_account_id : String) : BetaServiceAccountWorkspaceMember

Retrieve a workspace service account by workspace and account ID.

Source
update(workspace_id : String, service_account_id : String, workspace_role : String) : BetaServiceAccountWorkspaceMember

Update a workspace service account's role.

Source