Skip to navigation

Update phone — step 4: commit a deferred change (admin)

View as Markdown

Applies a phone-number change that was deferred with deferCommit: true. Requires an authorized admin access token. VLens re-validates the OTP request and the user’s Digital Identity before applying the new phone number. Step 4 of the update-phone-number flow — only needed when the deferred-commit variant was used in step 3.

Authentication

ApiKeystring
Static API key issued to your tenant. Required on every request.
OR
AuthorizationBearer

Admin JWT from /api/credentials/Login. Required for admin operations.

Request

This endpoint expects an object.
phoneNumberOtpRequestIdstringRequiredformat: "uuid"

The phoneNumberOtpRequestId that was validated with deferCommit: true in POST /api/DigitalIdentity/UpdatePhone/ValidatePhoneOtp.

Response

Phone number updated.
dataobject
error_codeinteger or null
error_messagestring or null
error_descriptionsstring or null