Approve or deny a device code
Changed onBrowser-side endpoint for authenticated auth-users to approve (approve) or deny (deny) a user_code.
Called by the verification page after the end user signs in. The grant is scoped to the project the auth-user token belongs to: approving a user_code issued for a different project returns 403. This endpoint does not require managed auth to be enabled, so a custom verification page (hosted anywhere) can drive approval — it just needs an authenticated project auth-user access token and, for cross-origin browser calls, the page origin allowed in the project's auth CORS settings.
Request
- Base URLhttps://api.volcano.dev
- AuthHTTP bearer
Request body
Response
Verification action accepted
Changes
- breaking
the response's body type changed from no type to
objectfor status - info
added the optional property
codeto the response with the status - info
added the required property
errorto the response with the status
- breaking