OauthClient

A confidential OAuth client for the client_credentials grant.

  • createdAt
    Type: string
    required

    ISO 8601 creation timestamp.

  • id
    Type: string
    required

    The client id (prefixed cli_). Use it as client_id and to revoke.

  • lastUsedAt
    Type: string | null
    required

    ISO 8601 timestamp the client last obtained a token, or null.

  • name
    Type: string
    required

    Human-readable label.

  • revokedAt
    Type: string | null
    required

    ISO 8601 timestamp the client was revoked, or null if active.

  • scopes
    Type: array string[] | null
    required

    The scopes this client may request, plus optional form:<id> constraints. null means it may request full access.