CLI Authentication

Poll CLI authentication status

Changed on

Check the status of a CLI authentication session using the polling code

post/auth/cli/poll

Request

  • Base URL
    https://api.hexclave.com/api/v1
  • URL
    https://api.hexclave.com/api/v1/auth/cli/poll
  • Auth
    none declared

Request body

polling_codestring required

Example request

{}

Response

Successful response

status'waiting' | 'success' | 'expired' | 'used' required
refresh_tokenstring

Changes

    • warning

      added the new expired enum value to the response property for the response status

    • warning

      added the new expired enum value to the response property for the response status

    • warning

      added the new success enum value to the response property for the response status

    • warning

      added the new success enum value to the response property for the response status

    • warning

      added the new used enum value to the response property for the response status

    • warning

      added the new used enum value to the response property for the response status

    • warning

      added the new waiting enum value to the response property for the response status

    • warning

      added the new waiting enum value to the response property for the response status