Skip to main content
Sub Organization - UserUpdate User Password By Admin
TestMu AI
StatusCommunityBlog
Sub Organization - User

Update User Password By Admin

Update User Password By Admin

PATCH
/api/organization/sub-org/{sub_org_id}/users/{user_id}/password
Update User Password By Admin
curl --request PATCH \
--url "https://auth.lambdatest.com//api/organization/sub-org/{sub_org_id}/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",
"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

sub_org_idintegerrequired

Sub Organization ID

user_idintegerrequired

Sub Org User ID

Body

application/json
confirm_passwordstring
new_passwordstring

Response

application/json

Update User Password By Admin

messagestring
typestring
Update User Password By Admin
curl --request PATCH \
--url "https://auth.lambdatest.com//api/organization/sub-org/{sub_org_id}/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",
"type": "success"
}