Users›Update User Role by admin
Users
Update User Role by admin
Update User Role by admin
Update User Role by admin curl --request PATCH \
--url "https://auth.lambdatest.com//api/organization/user/{user_id}" \
--header "Authorization: Basic <encoded-value>" \
--header "Content-Type: application/json" \
--data '{
"role": "<role>"
}'
{
"message": "Organization role 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
user_idintegerrequired
user id of member
Response
application/jsonUpdate User Role
Update User Role by admin curl --request PATCH \
--url "https://auth.lambdatest.com//api/organization/user/{user_id}" \
--header "Authorization: Basic <encoded-value>" \
--header "Content-Type: application/json" \
--data '{
"role": "<role>"
}'
{
"message": "Organization role updated Successfully",
"type": "success"
}