DevicePollResponse

  • status
    Type: string enum
    required

    pending — keep polling. approved — the person authorized the CLI. denied — they declined. expired — nobody acted in time.

    values
    • pending
    • approved
    • denied
    • expired
  • expiresAt
    Type: string Format: date-time

    When the CLI token expires (90 days out). Present with token.

  • token
    Type: string

    The CLI token (pcli_...). Present ONLY on the first poll after approval, and never retrievable again — store it immediately.