Approve a QR code

Approve a QR Code pairing request.

post

This endpoint is called after scanning a QR Code generated by POST api/v1/users/auth/passwordless/qrcode/generate. Once approved, the QR Code's status changes to "approved" and can be used for login.

Path parameters
qrCodeIdstring · uuidRequired

The unique identifier of the QR Code session.

Header parameters
Brand-URLstringRequired

The brand URL of the request. This is used to identify the brand.

Example: YOUR_BRAND_URL
Responses
chevron-right
200

The request was successful.

application/json

The API result model with data.

successbooleanRead-onlyRequired

This is the flag to indicate whether the API call is successful or not.

statusCodeinteger · int32Read-onlyRequired

This is the HTTP status code. This is used to determine the status code to be returned to the client.

messagestring · min: 1Required

This is the message to be displayed to the user.

post
/api/v1/users/auth/passwordless/qrcode/{qrCodeId}/approve

Last updated