Skip to content
Start in Cloud

Change password

POST
/api/user/password
curl --request POST \
--url https://hitkeep.com/api/user/password \
--header 'Content-Type: application/json' \
--cookie hk_token=<hk_token> \
--data '{ "current_password": "example", "new_password": "example" }'

Changes password for authenticated user.

Media type application/json
object
current_password
required
string
new_password
required
string
>= 8 characters
Example generated
{
"current_password": "example",
"new_password": "example"
}

Status

Media type application/json
object
message
string
status
string
Example generated
{
"message": "example",
"status": "example"
}

Current password is incorrect

Media type application/json
object
message
string
Example generated
{
"message": "example"
}