cli

Get CLI device login

Changed on

Returns the device label, requester details, and status for a user code. Requires a dashboard session.

post/v2/cli.getDeviceLogin

Request

  • Base URL
    https://api.unkey.com
  • URL
    https://api.unkey.com/v2/cli.getDeviceLogin
  • Auth
    HTTP bearer

Request body

userCodestring required

Code shown by unkey login.

Response

Device login found.

Example response

{
  "meta": {
    "requestId": "req_123"
  }
}

Changes