Sign in

Create a Permission

documented

Create a new permission (linking a person or a group to a target group).

POST /api/organizations/{org_id}/group-permissions/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/" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"target": {"id": {{$target_group_id}}}, "group": {"id": {{$grant_group_id}}}, "childDepth": {{$childDepth}}, "individualAccess": {{$individualAccess}}, "global": {{$global}} }'
Create a Permission · Watershed · OpenIntegrations