Validate Forgot Password Token
POST/api/v1/user/:username/credential/reset-token/validate
x-public: "true"
Triggers the validation of a forgot password token and generating a special JWT upon successful validation of the forgot password token
Request
Path Parameters
username stringrequired
Possible values: non-empty
and <= 128 characters
Username
- application/json; charset=UTF-8
Body
required
resetToken stringrequired
Reset password token
Responses
- 200
- 400
- 429
Successful operation
- application/json
- Schema
- Example (from schema)
Schema
token string
Reset Password Restricted JWT
{
"token": "string"
}
Bad request token / Request token expired
- application/json
- Schema
- Example (from schema)
Schema
error objectrequired
code stringrequired
message stringrequired
target string
details undefined[]
{
"error": {
"code": "string",
"message": "string",
"target": "string",
"details": [
null
]
}
}
Too many api request
- application/json
- Schema
- Example (from schema)
Schema
token string
Reset Password Restricted JWT
{
"token": "string"
}
Loading...