Set the user phone
POST/v2/users/:userId/phone
deprecated
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
Deprecated: Update the users phone field.
Set the phone number of a user. If the state is set to not verified, a verification code will be generated, which can be either returned or sent to the user by sms..
Request​
Responses​
- 200
- 400
- 401
- 403
- 404
- default
OK
The request is malformed.
Returned when the user is not authenticated.
Returned when the user does not have permission to access the resource.
User ID does not exist.
An unexpected error response.