重置密码
POSThttps://unknown.ap-shanghai.tcb-api.tencentcloudapi.com/auth/v1/reset
忘记密码时,重置密码
Request
- application/json
Body
required
email string
phone_number string
new_password string
verification_token 发送验证码时, 返回的 verification_token (string)
Responses
- 200
- 401
- default
A successful response.
- application/json
- Schema
- Example (from schema)
Schema
object
{}
the oauth2.0 access token is not correct or expired
- application/json
- Schema
Schema
- any
An unexpected error response.
- application/json
- Schema
- Example (from schema)
Schema
code int32
message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Authorization: http
name: Basictype: httpscheme: basic
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L 'https://unknown.ap-shanghai.tcb-api.tencentcloudapi.com/auth/v1/reset' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"email": "string",
"phone_number": "string",
"new_password": "string",
"verification_token": "string"
}'
ResponseClear