Sign in

Create Group

documented

Create a new group in the organization.

POST /api/organizations/{org_id}/groupsGroupsno 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}}/groups" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"name": "{{$name}}", "description": "{{$description}}", "type": {"id": {{$group_type_id}}}, "customId": "{{$custom_id}}", "imageUrl": "{{$image_url}}"}'