OpenapiDevice
Device_confirm
POST
realmId*stringRealm ID
application/json- body
approved*booleanuser_code*stringDevice code confirmed
application/json- response
agreements?array<>|nullconsent_required?|Present when the login consent gate blocked an approval: the device was NOT authorized. The browser session must record consent (POST /api/user/consent) for the listed agreements and re-confirm; the device state stays "verified" so the retry completes without restarting the device flow.
status*stringcurl -X POST 'https://example.com/api/device/string/confirm' \
-H 'Content-Type: application/json' \
-d '{
"approved": true,
"user_code": "string"
}'Example Response
{
"agreements": [
{
"agreement_type": "string",
"effective_at": "2019-08-24T14:15:22Z",
"external_url": "string",
"mode": "full_text",
"summary": "string",
"title": "string",
"version_id": "9e94c502-ca41-4342-a7f7-af96b444512c",
"version_no": 0
}
],
"consent_required": true,
"status": "string"
}