WESERGATE NAC / API

API: Groups

14 endpoint(s). The following endpoint list is extracted from the source. Actual server responses and integration availability depend on the runtime configuration. GET /api/groups - Handler: list groups - Source: weserga

v0.14.3Pre-production · v0.14.3
v0.14.3 documentation draft: technical, legal and commercial reviews are still pending.

14 endpoint(s).

The following endpoint list is extracted from the source. Actual server responses and integration availability depend on the runtime configuration.

GET /api/groups

  • Handler: list_groups
  • Source: wesergate/operations_api.py:204
  • Declared access requirement: authenticated admin
  • What it does: List groups (see request schemas and source for exact semantics).

Example request path: /api/groups. Use the documented HTTP method and send the corresponding validated body (if any).

POST /api/groups

  • Handler: add_group
  • Source: wesergate/operations_api.py:211
  • Body model/type: GroupWrite
  • Declared access requirement: authenticated admin
  • What it does: Add group (see request schemas and source for exact semantics).

Example request path: /api/groups. Use the documented HTTP method and send the corresponding validated body (if any).

DELETE /api/groups/{group_id}

  • Handler: delete_group
  • Source: wesergate/operations_api.py:235
  • Parameters: group_id : str
  • Declared access requirement: authenticated admin
  • What it does: Delete group (see request schemas and source for exact semantics).

Example request path: /api/groups/{group_id}. Use the documented HTTP method and send the corresponding validated body (if any).

GET /api/groups/{group_id}

  • Handler: group_details
  • Source: wesergate/operations_api.py:245
  • Parameters: group_id : str
  • Declared access requirement: authenticated admin
  • What it does: Group details (see request schemas and source for exact semantics).

Example request path: /api/groups/{group_id}. Use the documented HTTP method and send the corresponding validated body (if any).

PUT /api/groups/{group_id}

  • Handler: update_group
  • Source: wesergate/operations_api.py:220
  • Body model/type: GroupWrite
  • Parameters: group_id : str
  • Declared access requirement: authenticated admin
  • What it does: Update group (see request schemas and source for exact semantics).

Example request path: /api/groups/{group_id}. Use the documented HTTP method and send the corresponding validated body (if any).

GET /api/groups/{group_id}/access-policies

  • Handler: group_access_policies
  • Source: wesergate/advanced_api.py:225
  • Parameters: group_id : str
  • Declared access requirement: authenticated admin
  • What it does: Group access policies (see request schemas and source for exact semantics).

Example request path: /api/groups/{group_id}/access-policies. Use the documented HTTP method and send the corresponding validated body (if any).

PUT /api/groups/{group_id}/access-policies

  • Handler: bind_access_policy
  • Source: wesergate/advanced_api.py:233
  • Body model/type: GroupPolicyBinding
  • Parameters: group_id : str
  • Declared access requirement: authenticated admin
  • What it does: Bind access policy (see request schemas and source for exact semantics).

Example request path: /api/groups/{group_id}/access-policies. Use the documented HTTP method and send the corresponding validated body (if any).

DELETE /api/groups/{group_id}/access-policies/{policy_id}

  • Handler: unlink_access_policy
  • Source: wesergate/advanced_api.py:248
  • Parameters: group_id : str, policy_id : str
  • Declared access requirement: authenticated admin
  • What it does: Unlink access policy (see request schemas and source for exact semantics).

Example request path: /api/groups/{group_id}/access-policies/{policy_id}. Use the documented HTTP method and send the corresponding validated body (if any).

POST /api/groups/{group_id}/members

  • Handler: group_add_member
  • Source: wesergate/operations_api.py:256
  • Body model/type: GroupMemberWrite
  • Parameters: group_id : str
  • Declared access requirement: authenticated admin
  • What it does: Group add member (see request schemas and source for exact semantics).

Example request path: /api/groups/{group_id}/members. Use the documented HTTP method and send the corresponding validated body (if any).

DELETE /api/groups/{group_id}/members/{member_id}

  • Handler: group_remove_member
  • Source: wesergate/operations_api.py:266
  • Parameters: group_id : str, member_id : str
  • Declared access requirement: authenticated admin
  • What it does: Group remove member (see request schemas and source for exact semantics).

Example request path: /api/groups/{group_id}/members/{member_id}. Use the documented HTTP method and send the corresponding validated body (if any).

POST /api/groups/{group_id}/rules

  • Handler: add_group_rule
  • Source: wesergate/operations_api.py:273
  • Body model/type: GroupRuleWrite
  • Parameters: group_id : str
  • Declared access requirement: authenticated admin
  • What it does: Add group rule (see request schemas and source for exact semantics).

Example request path: /api/groups/{group_id}/rules. Use the documented HTTP method and send the corresponding validated body (if any).

DELETE /api/groups/{group_id}/rules/{rule_id}

  • Handler: delete_group_rule
  • Source: wesergate/operations_api.py:283
  • Parameters: group_id : str, rule_id : str
  • Declared access requirement: authenticated admin
  • What it does: Delete group rule (see request schemas and source for exact semantics).

Example request path: /api/groups/{group_id}/rules/{rule_id}. Use the documented HTTP method and send the corresponding validated body (if any).

PUT /api/groups/{group_id}/rules/{rule_id}

  • Handler: update_group_rule
  • Source: wesergate/operations_api.py:334
  • Body model/type: GroupRuleWrite
  • Parameters: group_id : str, rule_id : str
  • Declared access requirement: authenticated admin
  • What it does: Update group rule (see request schemas and source for exact semantics).

Example request path: /api/groups/{group_id}/rules/{rule_id}. Use the documented HTTP method and send the corresponding validated body (if any).

POST /api/groups/{group_id}/sync

  • Handler: group_sync
  • Source: wesergate/operations_api.py:291
  • Parameters: group_id : str
  • Declared access requirement: authenticated admin
  • What it does: Group sync (see request schemas and source for exact semantics).

Example request path: /api/groups/{group_id}/sync. Use the documented HTTP method and send the corresponding validated body (if any).

Original English reference: en/api/groups.mdRead documentation
Pre-production · v0.14.3

Not a certified production NAC. Physical switch/RADIUS enforcement and 1,000-device traffic remain unverified.

WeserCode One now provides customer accounts, support tickets and verified commercial records. Automated checkout and signed WeserGate license issuance are not connected.

Open customer portal Product overview