YeeAuth 文档
个人中心

变更邮箱前校验密码并发送验证码

POST
/api/v1/user/profile/prepare_change_email

变更邮箱前校验密码并发送验证码

Authorization

x-userpool-id<token>

IAM Userpool Id

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

*/*

*/*

*/*

*/*

*/*

curl -X POST "https://example.com/api/v1/user/profile/prepare_change_email" \  -H "Content-Type: application/json" \  -d '{    "property1": "string",    "property2": "string"  }'
{  "code": 0,  "success": true,  "msg": "string",  "data": {}}
{  "code": 0,  "success": true,  "msg": "string",  "data": {}}
{  "code": 0,  "success": true,  "msg": "string",  "data": {}}
{  "code": 0,  "success": true,  "msg": "string",  "data": {}}
{  "code": 0,  "success": true,  "msg": "string",  "data": {}}