Create group
documentedCreate a new group.
POST /admin/groups.jsonGroupsno implementation yet0 runsNo 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://{{$domain}}/admin/groups.json" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Api-Key: {{DISCOURSE_API_KEY}}" \
-H "Api-Username: {{$admin_username}}" \
-d '{"group": {"name": "{{$group_name}}", "automatic": false, "visibility_level": 0}}'