Skip to Content
Xeonr Developer Docs
API SpecificationPRIVATEAuthentication

Mark Device Login

POST
/xeonr.auth.private.v1.AuthService/MarkDeviceLogin

Approves or denies a pending device login as the calling account. On approval the waiting browser is signed in as the caller the next time it polls. Callable only with a portal session token.

Required scopes: auth:account:edit

Authorization

BearerAuth
AuthorizationBearer <token>

JWT access token for internal API access. Requires 'private' scope for most endpoints, 'admin' scope for administrative operations.

In: header

Header Parameters

Connect-Protocol-Version?number

Define the version of the Connect protocol

Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

userCode?string
Length6 <= length <= 16
approve?boolean

true signs the waiting browser in as the caller; false refuses it. validate:skip a bool has no bounds

[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://auth.xeonr.io/xeonr.auth.private.v1.AuthService/MarkDeviceLogin" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{}