Service Accounts
Create Service Account
BetaServiceAccount beta().organization().serviceAccounts().create(ServiceAccountCreateParamsparams, RequestOptionsrequestOptions = RequestOptions.none())POST/v1/organizations/service_accounts
List Service Accounts
ServiceAccountListPage beta().organization().serviceAccounts().list(ServiceAccountListParamsparams = ServiceAccountListParams.none(), RequestOptionsrequestOptions = RequestOptions.none())GET/v1/organizations/service_accounts
Get Service Account
BetaServiceAccount beta().organization().serviceAccounts().retrieve(ServiceAccountRetrieveParamsparams = ServiceAccountRetrieveParams.none(), RequestOptionsrequestOptions = RequestOptions.none())GET/v1/organizations/service_accounts/{service_account_id}
Update Service Account
BetaServiceAccount beta().organization().serviceAccounts().update(ServiceAccountUpdateParamsparams = ServiceAccountUpdateParams.none(), RequestOptionsrequestOptions = RequestOptions.none())POST/v1/organizations/service_accounts/{service_account_id}
Archive Service Account
BetaServiceAccount beta().organization().serviceAccounts().archive(ServiceAccountArchiveParamsparams = ServiceAccountArchiveParams.none(), RequestOptionsrequestOptions = RequestOptions.none())POST/v1/organizations/service_accounts/{service_account_id}/archive
Models
Service AccountsWorkspaces
Add Workspace To Service Account
BetaServiceAccountWorkspaceMember beta().organization().serviceAccounts().workspaces().add(WorkspaceAddParamsparams, RequestOptionsrequestOptions = RequestOptions.none())POST/v1/organizations/service_accounts/{service_account_id}/workspaces
List Workspaces For Service Account
WorkspaceListPage beta().organization().serviceAccounts().workspaces().list(WorkspaceListParamsparams = WorkspaceListParams.none(), RequestOptionsrequestOptions = RequestOptions.none())GET/v1/organizations/service_accounts/{service_account_id}/workspaces
Remove Workspace From Service Account
WorkspaceRemoveResponse beta().organization().serviceAccounts().workspaces().remove(WorkspaceRemoveParamsparams, RequestOptionsrequestOptions = RequestOptions.none())DELETE/v1/organizations/service_accounts/{service_account_id}/workspaces/{workspace_id}