Change User Password
POST/user-svc/change-password
Allows an authenticated user to change their own password.
Request
- application/json
Body
required
Change Password Request
currentPassword string
newPassword string
slug string
Responses
- 200
- 400
- 401
- 500
Password changed successfully
- application/json
- Schema
- Example (from schema)
Schema
object
{}
Invalid JSON
- application/json
- Schema
- Example (from schema)
Schema
error string
{
"error": "string"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
error string
{
"error": "string"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
error string
{
"error": "string"
}
Loading...