Class ServiceAccountRetrieveParams

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

    
    public final class ServiceAccountRetrieveParams
     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.

    Retrieve a service account's membership in a workspace.

    Returns the membership record, including the service account's workspace_role in this workspace. Archived workspaces return 400. For the default workspace, returns the implicit (implicit: true) membership when no explicit membership exists; an explicitly added membership is returned with its assigned role. An archived service account returns 404.