Reference

Get login

A sign-in the CLI started, for the person approving it.

GET
/logins/{code}

Authorization

bearer
headerAuthorizationBearer <token>

Path Parameters

code*string
Match^[A-HJ-NP-Z2-9]{4}-[A-HJ-NP-Z2-9]{4}$/i

Response Body

The sign-in.

application/json
  1. response
code*string
device*string
expires*string
Formatdate-time
role*string

The most the person approving may give the key.

Value in"read""write""admin"
every_environment*boolean

Whether the person may give a key for every environment.

Example Request
curl -X GET 'https://example.com/v1/logins/string'
Example Response
{  "code": "string",  "device": "string",  "expires": "2019-08-24T14:15:22Z",  "role": "read",  "every_environment": true}