Service Accounts
Create Service Account
beta.organization.service_accounts.create(ServiceAccountCreateParams**kwargs) -> BetaServiceAccountPOST/v1/organizations/service_accounts
List Service Accounts
beta.organization.service_accounts.list(ServiceAccountListParams**kwargs) -> SyncPageCursor[BetaServiceAccount]GET/v1/organizations/service_accounts
Get Service Account
beta.organization.service_accounts.retrieve(strservice_account_id, ServiceAccountRetrieveParams**kwargs) -> BetaServiceAccountGET/v1/organizations/service_accounts/{service_account_id}
Update Service Account
beta.organization.service_accounts.update(strservice_account_id, ServiceAccountUpdateParams**kwargs) -> BetaServiceAccountPOST/v1/organizations/service_accounts/{service_account_id}
Archive Service Account
beta.organization.service_accounts.archive(strservice_account_id, ServiceAccountArchiveParams**kwargs) -> BetaServiceAccountPOST/v1/organizations/service_accounts/{service_account_id}/archive
Models
Service AccountsWorkspaces
Add Workspace To Service Account
beta.organization.service_accounts.workspaces.add(strservice_account_id, WorkspaceAddParams**kwargs) -> BetaServiceAccountWorkspaceMemberPOST/v1/organizations/service_accounts/{service_account_id}/workspaces
List Workspaces For Service Account
beta.organization.service_accounts.workspaces.list(strservice_account_id, WorkspaceListParams**kwargs) -> SyncPageCursor[BetaServiceAccountWorkspaceMember]GET/v1/organizations/service_accounts/{service_account_id}/workspaces
Remove Workspace From Service Account
beta.organization.service_accounts.workspaces.remove(strworkspace_id, WorkspaceRemoveParams**kwargs) -> WorkspaceRemoveResponseDELETE/v1/organizations/service_accounts/{service_account_id}/workspaces/{workspace_id}