Class ServiceAccountListParams

  • All Implemented Interfaces:
    com.anthropic.core.Params

    
    public final class ServiceAccountListParams
     implements Params
                        

    Requires an OAuth access token with the org:admin scope, from ant auth login --scope org:admin or a workload identity federation rule; Admin API keys are not accepted. See /docs/en/manage-claude/wif-admin-api.

    List the service accounts that are members of a workspace.

    Each entry includes the service account's workspace_role. Use limit and the next_page cursor to paginate. Archived workspaces return 400; use GET /service_accounts/{id}/workspaces to audit memberships of an archived workspace. The implicit default-workspace membership is not included in this list. Memberships of archived service accounts are omitted from the results.