Start the device flow
Request a device and user code Follow [rfc8628#section-3.2](https://datatracker.ietf.org/doc/html/rfc8628#section-3.2)
/api/auth/device/codeRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/auth/device/code" \ -H "Content-Type: application/json" \ -d '{ "client_id": "string" }'{ "device_code": "5f1c9d0e8b3a4c27", "user_code": "8226-T2GH", "verification_uri": "https://runners.starsling.dev/cli-login", "verification_uri_complete": "https://runners.starsling.dev/cli-login?user_code=8226-T2GH", "expires_in": 1800, "interval": 5}Control-plane version GET
The running control plane and the commit it was built from. Needs no credential, so it answers whether the service is reachable before you start debugging one.
Exchange a device code for a token POST
Exchange device code for access token Follow [rfc8628#section-3.4](https://datatracker.ietf.org/doc/html/rfc8628#section-3.4)