users
Update Email
已登录用户修改自己的邮箱
- 验证当前密码是否正确
- 检查新邮箱是否已被其他用户使用
- 更新用户邮箱
- 返回成功消息和新邮箱
- 如果当前密码不正确 返回401错误
- 如果新邮箱已被使用 返回400错误
post/api/v1/users/update-email
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/update-email
- 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.