Skip to content

Change the current user's password

PUT
/me/password
curl --request PUT \
--url https://your-server.example/api/me/password \
--header 'Content-Type: application/json' \
--cookie session=<session> \
--data '{ "current_password": "example", "new_password": "example" }'
Media typeapplication/json
object
current_password
required
string
new_password
required
string
>= 8 characters

Example generated

{
"current_password": "example",
"new_password": "example"
}

Password changed.

Media typeapplication/json
object
status
string

Example

{
"status": "ok"
}