Skip to content

Set User Role

PUT
/tenant/{tenant}/user/{userId}
curl --request PUT \
--url https://api.exolink.cloud/tenant/example/user/example \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "role": "example" }'

Set role for a specific user

tenant
required
string
userId
required
string
Media typeapplication/json
object
role
required

User role

string
Examplegenerated
{
"role": "example"
}

Role updated successfully