Skip to main content
UsersUser Password by admin
TestMu AI
StatusCommunityBlog
Users

User Password by admin

User Password by admin

PATCH
/api/organization/users/{user_id}/password
User Password by admin
curl --request PATCH \
--url "https://auth.lambdatest.com//api/organization/users/{user_id}/password" \
--header "Authorization: Basic <encoded-value>" \
--header "Content-Type: application/json" \
--data '{
"confirm_password": "<confirm_password>",
"new_password": "<new_password>"
}'
{
"message": "Password changed successfully, for user - Pawan",
"type": "success"
}

Authorizations

Authorizationstringheaderrequired

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

user_idintegerrequired

user id of member

Body

application/json
confirm_passwordstring
new_passwordstring

Response

application/json

User Password by admin Success

messagestring
typestring
User Password by admin
curl --request PATCH \
--url "https://auth.lambdatest.com//api/organization/users/{user_id}/password" \
--header "Authorization: Basic <encoded-value>" \
--header "Content-Type: application/json" \
--data '{
"confirm_password": "<confirm_password>",
"new_password": "<new_password>"
}'
{
"message": "Password changed successfully, for user - Pawan",
"type": "success"
}