Sign in

List groups (v2)

documented

List groups for an organization (v2).

GET /api/v2/organizations/{org_id}/groups.(xml|json)Groupsno 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)

Note: Public Device Magic API docs for the exact /api/v2/organizations/{org_id}/groups endpoint are not publicly accessible. This template uses the same base pattern Device Magic exposes for other endpoints (e.g., forms.json) and adapts it to a groups endpoint. If your account uses a different base path or version, adjust accordingly.

npx -y keychains@latest curl "https://api.devicemagic.com/organizations/{{$org_id}}/groups.{{$format}}" \
  -X GET \
  -H "Accept: application/{{$format}}" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}"