Class ServiceAccountCreateParams

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

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

    Create a service account.

    A service account is a named workload identity that federation rules target. organization_role is developer (default) or admin; a rule may only be created or retargeted to grant org:admin scope when the target's organization_role is admin. Creating an admin-role service account requires an interactive credential (a user OAuth token or a Console session) — a workload may only create developer-role service accounts.