Skip to main content
POST
OAuth 2.0 device authorization request

Body

application/json
data
object
required

Device authorization request body. Reserved for RFC 8628 parameters; the CLI sends an empty data object today.

Response

The request has succeeded.

data
object
required

Device authorization response (RFC 8628 §3.2). The CLI displays user_code + verification_uri to the user and polls /oauth/token with device_code until the user approves on a browser.