Skip to content

Change another user's password

PUT
/api/v1/users/change-user-password
curl --request PUT \
--url http://127.0.0.1:58259/api/v1/users/change-user-password \
--header 'Content-Type: application/json' \
--data '{ "userId": 1, "newPassword": "example" }'

Change the password for another user. Requires admin.

Media type application/json

Change user password request

object
userId
integer format: int64
newPassword
string
Example generated
{
"userId": 1,
"newPassword": "example"
}

Password changed successfully

Media type */*
object