Change Password
POST/profile/change_password/
Request
- application/json
- application/x-www-form-urlencoded
- multipart/form-data
Body
required
password stringrequired
New password.
confpassword stringrequired
Confirmation of the new password.
current_password stringrequired
Current password.
Body
required
password stringrequired
New password.
confpassword stringrequired
Confirmation of the new password.
current_password stringrequired
Current password.
Body
required
password stringrequired
New password.
confpassword stringrequired
Confirmation of the new password.
current_password stringrequired
Current password.
Responses
- 200
- 400
- 401
- 500
- application/json
- Schema
- Example (from schema)
Schema
message string
{
"message": "Password Changed"
}
- application/json
- Schema
- Example (from schema)
Schema
error string
{
"error": "Invalid JWT."
}
- application/json
- Schema
- Example (from schema)
Schema
detail string
{
"detail": "Incorrect authentication credentials."
}
- application/json
- Schema
- Example (from schema)
Schema
detail string
{
"detail": "Unexpected error while handling your request."
}
Loading...