Subject

Identifies the entity (service account, user, or embed session) the token represents.

  • id
    Type: string
    required

    Stable ID for the subject (UUID).

  • type
    Type: stringenum
    required
    values
    • user
    • service_account
    • embed
  • mode
    Type: stringenum

    Mode of the namespace this token operates in.

    values
    • live
    • test
  • namespaceKey
    Type: string

    Namespace this token is scoped to.

  • orgId
    Type: string

    Organization ID this token can act on.