users
Change Phone
已登录用户修改自己的手机号
- 验证验证码是否正确
- 检查新手机号是否已被其他用户使用
- 更新用户手机号
- 返回成功消息和新手机号
- 如果验证码无效或过期 返回400错误
- 如果新手机号已被使用 返回400错误
post/api/v1/users/change-phone
Request
- Base URL: https://opencloudos.org (the document declares no server; this is the origin it was published from)
- URL: https://opencloudos.org/api/v1/users/change-phone
- Auth: OAuth 2 (password, token URL /api/v1/users/login)
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.