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

Update User

Update User

POST
/api/organization/sub-org/{sub_org_id}/users/{user_id}
Update User
curl --request POST \
--url "https://auth.lambdatest.com//api/organization/sub-org/{sub_org_id}/users/{user_id}" \
--header "Authorization: Basic <encoded-value>" \
--header "Content-Type: application/json" \
--data '{
"role": "<role>"
}'
{
"message": "User profile updated 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
rolestring

Response

application/json

Update User SubOrg

messagestring
typestring
Update User
curl --request POST \
--url "https://auth.lambdatest.com//api/organization/sub-org/{sub_org_id}/users/{user_id}" \
--header "Authorization: Basic <encoded-value>" \
--header "Content-Type: application/json" \
--data '{
"role": "<role>"
}'
{
"message": "User profile updated successfully",
"type": "success"
}