latestSwagger 2.0Apache 2.02026-08-21111141361.2 KB

e16ed11d991c

Authentication

Request device code for CLI authentication

Initiates OAuth 2.0 Device Authorization flow. Returns a code for the user to enter in browser.

post/auth/device/code

Response

OK

device_codestring

DeviceCode is used when polling for the token (keep secret)

expires_ininteger

ExpiresIn is the lifetime of the device code in seconds

intervalinteger

Interval is the minimum polling interval in seconds

user_codestring

UserCode is displayed to the user to enter in browser

verification_uristring

VerificationURI is the URL the user should visit

verification_uri_completestring

VerificationURIComplete is the full URL with code pre-filled