手机号换绑

简介

此接口用于更改用户绑定的手机号,因为手机号的特殊性,必须发起验证码验证。因此以此接口来进行换绑请求的发起。

此接口自小程序线上版本1.1.0起启用

请求

换绑手机

POST /v1/user/newphone

Headers

属性

Content-Type

application/json

Authorization

Bearer {access_token}

Body

属性
类型
描述
必填

phone

string

用户手机号

Response

{
	"success": true,
	"status": "verification_code_sent"
}
属性
类型
描述

success

string

请求是否成功

status

string

请求标识

Last updated

Was this helpful?