Skip to content

Auth_changePassword

POST
/api/auth/change-password
curl --request POST \
--url https://met.cards/api/auth/change-password \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "currentPassword": "example", "newPassword": "example" }'
Media typeapplication/json
object
currentPassword
string
<= 200 characters
newPassword
required
string
>= 8 characters <= 200 characters
Examplegenerated
{
"currentPassword": "example",
"newPassword": "example"
}
Media typeapplication/json
object
Examplegenerated
{}