应用身份管理服务 ONEACCESS-发送邮件验证码:请求示例

时间:2024-01-18 19:43:27

请求示例

发送邮件验证码,给指定邮箱123@example.com用于忘记密码操作,图形验证码校验通过凭证为71dd26999e314f9abb0c635336976635---{"x":237.0,"y":5.0}。

POST https://{domain_name}/api/v2/sdk/email/send

X-operating-sys-version: Android 10
X-device-fingerprint: 156aysdna213sac
X-device-ip: 10.10.10.1
X-agent: Mozilla/5.0 (Linux; Android 10; Redmi K30 Build/QKQ1.190825.002; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/80.0.3987.99 Mobile Safari/537.36
X-L: zh
X-client-id: DRrYIqauawN0I8myTMoDTPys6ezGZxnm
X-tenant-id: 08f770f51f80d2f40f38c00cb199fd21

{
  "email": "123@example.com",
  "type": " FORGET_PWD_EMS ",
  "captcha_token": "71dd26999e314f9abb0c635336976635---{\"x\":237.0,\"y\":5.0}"
}
support.huaweicloud.com/api-oneaccess/SendEmailVerifyCode.html