/users/{user_id}/phone_numberReplace a user's phone number
Replaces all of the user's phone numbers with a single primary phone number.
By default the new phone number is created verified, with the admin verification strategy.
When identification_status is reserved it is created reserved instead: unverified but usable
for sign-in and locked so no other user can claim it. When it is unverified the phone number is
neither usable for sign-in nor locked. The new phone number is never reserved for
second factor. Any existing phone numbers are deleted; replacing a phone number that is reserved
for second factor disables the user's MFA.
Warning: identification_status: unverified can lock the user out of their account. An
unverified phone number cannot be used to sign in, so if the user has no other verified or
reserved identifier, deleting their existing phone numbers leaves them unable to authenticate —
and unable to verify the new number, since that requires signing in. Recovery then requires
another admin API call.
A 400 is returned: Request was not successful. A 401 is returned: Authentication invalid. A 403 is returned: Authorization invalid. A 404 is returned: Resource not found. A 422 is returned: Invalid request parameters.