Sign in

Edit a Permission

documented

Update an existing permission.

PUT /api/organizations/{org_id}/group-permissions/{permission_id}Permissionsno 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://watershedlrs.com/api/organizations/{{$org_id}}/group-permissions/{{$permission_id}}" \
  -X PUT \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"target": {"id": {{$target_group_id}}}, "group": {"id": {{$viewer_group_id}}}, "childDepth": {{$childDepth}}, "individualAccess": {{$individualAccess}}, "global": {{$global}}}'