Reference
Get login
A sign-in the CLI started, for the person approving it.
GET
bearerheader
AuthorizationBearer <token>code*stringMatch
^[A-HJ-NP-Z2-9]{4}-[A-HJ-NP-Z2-9]{4}$/iThe sign-in.
application/json- response
code*stringdevice*stringexpires*stringFormat
date-timerole*stringThe most the person approving may give the key.
Value in
"read""write""admin"every_environment*booleanWhether the person may give a key for every environment.
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}