Skip to content

Set User Role

Request

Set role for a specific user

Security
bearerToken
Path
tenantstringrequired
userIdstringrequired
Bodyapplication/jsonrequired
rolestringrequired

User role

curl -i -X PUT \
  'https://docs.exolink.com/_mock/apis/exolink_api/tenant/{tenant}/user/{userId}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "role": "string"
  }'

Responses

Role updated successfully