Sign in

Update Permissions

documented

Update workspace permissions for roles/users.

POST /api/v1/permissions.updateUser Managementno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://{{$server}}/api/v1/permissions.update" \
  -X POST \
  -H "X-User-Id: {{$user_id}}" \
  -H "X-Auth-Token: {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"permissions": [{"_id": "{{$permission_id}}", "roles": ["{{$role}}"]}]}'
Update Permissions · Rocket.Chat · OpenIntegrations