v14

OpenAPI 3.1.02026-08-03122113375.9 KB
user-account

Verify phone number

Complete the second step of the phone number change flow.

Call this endpoint after the verification code has been requested and received.

Expected usage:

  1. Request code via PATCH /user/account/phone-number.
  2. Submit verification payload to this endpoint.

On success, the phone number is updated and the endpoint returns 204.

put/user/account/phone-number

Request body

phonestring required

Phone number to update

codestring required

The verification code received via SMS

Response

The user's phone number was updated