ReferenceV1
Poll For Token
Poll for token (CLI calls this repeatedly). Returns token when approved, or error codes per RFC 8628.
Request Body
application/json
clientId?string
Default
"vai-cli"deviceCode*string
Response Body
application/json
application/json
curl -X POST "https://loading/api/v1/auth/device/token" \ -H "Content-Type: application/json" \ -d '{ "deviceCode": "string" }'null{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}