> For the complete documentation index, see [llms.txt](https://docs.mymedtrics.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mymedtrics.com/api-reference/medtrics-classic-sis-bridge/group-users.md).

# Group Users

## GET /api/users/group\_users/

> Legacy /api/users/group\_users/ bridge resource.\
> \
> Mirrors the \`group\_tags\` precedent for the group membership resource.\
> \
> Legacy contract (GroupUserSerializer fields="\_\_all\_\_" + computed fields):\
> &#x20;   id           — integer legacy PK (from etl\_id\_registry.source\_id)\
> &#x20;   user         — integer legacy user PK (from user\_legacy\_id)\
> &#x20;   group        — integer legacy group PK (from group\_legacy\_id)\
> &#x20;   group\_roles  — \[] (group leader role mapping is not implemented)\
> &#x20;   display\_name — "{first\_name} {last\_name}".strip() or email fallback\
> &#x20;   user\_full    — {id: int, email: str, first\_name: str, last\_name: str}\
> \
> Supported operations:\
> &#x20;   GET    /group-members              → list (paginated)\
> &#x20;   GET    /group-members/{public\_id}  → detail (via ?legacy\_id=\<pk>\&limit=1)\
> &#x20;   POST   /group-members              → create\
> &#x20;   DELETE /group-members/{public\_id}  → destroy\
> \
> Limitation: group\_roles is always \[] — group leader role mapping is not implemented.

```json
{"openapi":"3.1.0","info":{"title":"Medtrics Legacy SIS Bridge (Compatibility API)","version":"draft-2026-10-29"},"servers":[{"url":"https://{client}.mymedtrics.com","description":"Tenant host; Caddy routes /api-banner/* and /api/* to the bridge (internal only)","variables":{"client":{"default":"<client-name>","description":"Tenant subdomain"}}},{"url":"http://localhost:8090","description":"local dev (see docker/caddy/Caddyfile for deployed hosts)"}],"security":[{"LegacyToken":[]},{"LegacyBasic":[]}],"components":{"securitySchemes":{"LegacyToken":{"type":"apiKey","in":"header","name":"Authorization","description":"Authorization: Token <hex>"},"LegacyBasic":{"type":"http","scheme":"basic"}},"schemas":{"ListEnvelope":{"type":"object","description":"Bridge-wide list envelope. count is always null and page_range always [] (cursor pagination upstream).","properties":{"count":{"type":["integer","null"]},"page_range":{"type":"array"},"per_page":{"type":"integer"},"next":{"type":["string","null"]},"previous":{"type":["string","null"]},"results":{"type":"array"}}},"GroupUsers":{"type":"object","description":"Legacy-shaped users/group_users record as served by the bridge; translated from Connect /group-members","properties":{"id":{"type":"integer","description":"legacy id of legacy_id"}}}}},"paths":{"/api/users/group_users/":{"get":{"operationId":"groupUsers_list","tags":["GroupUsers"],"description":"Legacy /api/users/group_users/ bridge resource.\n\nMirrors the `group_tags` precedent for the group membership resource.\n\nLegacy contract (GroupUserSerializer fields=\"__all__\" + computed fields):\n    id           — integer legacy PK (from etl_id_registry.source_id)\n    user         — integer legacy user PK (from user_legacy_id)\n    group        — integer legacy group PK (from group_legacy_id)\n    group_roles  — [] (group leader role mapping is not implemented)\n    display_name — \"{first_name} {last_name}\".strip() or email fallback\n    user_full    — {id: int, email: str, first_name: str, last_name: str}\n\nSupported operations:\n    GET    /group-members              → list (paginated)\n    GET    /group-members/{public_id}  → detail (via ?legacy_id=<pk>&limit=1)\n    POST   /group-members              → create\n    DELETE /group-members/{public_id}  → destroy\n\nLimitation: group_roles is always [] — group leader role mapping is not implemented.","parameters":[{"name":"page","in":"query","schema":{"type":"integer"}},{"name":"page_size","in":"query","schema":{"type":"integer","maximum":100}},{"name":"id","in":"query","schema":{"type":"integer"},"description":"maps to Connect legacy_id"},{"name":"user","in":"query","schema":{"type":"integer"},"description":"maps to Connect user_legacy_id"},{"name":"group","in":"query","schema":{"type":"integer"},"description":"maps to Connect group_legacy_id"}],"responses":{"200":{"description":"ListEnvelope","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ListEnvelope"},{"type":"object","properties":{"results":{"type":"array","items":{"$ref":"#/components/schemas/GroupUsers"}}}}]}}}},"400":{"description":"validation error"},"401":{"description":"unauthenticated"},"404":{"description":"not found or out of tenant scope"}}}}}}
```

## POST /api/users/group\_users/

> Legacy /api/users/group\_users/ bridge resource.\
> \
> Mirrors the \`group\_tags\` precedent for the group membership resource.\
> \
> Legacy contract (GroupUserSerializer fields="\_\_all\_\_" + computed fields):\
> &#x20;   id           — integer legacy PK (from etl\_id\_registry.source\_id)\
> &#x20;   user         — integer legacy user PK (from user\_legacy\_id)\
> &#x20;   group        — integer legacy group PK (from group\_legacy\_id)\
> &#x20;   group\_roles  — \[] (group leader role mapping is not implemented)\
> &#x20;   display\_name — "{first\_name} {last\_name}".strip() or email fallback\
> &#x20;   user\_full    — {id: int, email: str, first\_name: str, last\_name: str}\
> \
> Supported operations:\
> &#x20;   GET    /group-members              → list (paginated)\
> &#x20;   GET    /group-members/{public\_id}  → detail (via ?legacy\_id=\<pk>\&limit=1)\
> &#x20;   POST   /group-members              → create\
> &#x20;   DELETE /group-members/{public\_id}  → destroy\
> \
> Limitation: group\_roles is always \[] — group leader role mapping is not implemented.

```json
{"openapi":"3.1.0","info":{"title":"Medtrics Legacy SIS Bridge (Compatibility API)","version":"draft-2026-10-29"},"servers":[{"url":"https://{client}.mymedtrics.com","description":"Tenant host; Caddy routes /api-banner/* and /api/* to the bridge (internal only)","variables":{"client":{"default":"<client-name>","description":"Tenant subdomain"}}},{"url":"http://localhost:8090","description":"local dev (see docker/caddy/Caddyfile for deployed hosts)"}],"security":[{"LegacyToken":[]},{"LegacyBasic":[]}],"components":{"securitySchemes":{"LegacyToken":{"type":"apiKey","in":"header","name":"Authorization","description":"Authorization: Token <hex>"},"LegacyBasic":{"type":"http","scheme":"basic"}},"schemas":{"GroupUsers":{"type":"object","description":"Legacy-shaped users/group_users record as served by the bridge; translated from Connect /group-members","properties":{"id":{"type":"integer","description":"legacy id of legacy_id"}}}}},"paths":{"/api/users/group_users/":{"post":{"operationId":"groupUsers_create","tags":["GroupUsers"],"description":"Legacy /api/users/group_users/ bridge resource.\n\nMirrors the `group_tags` precedent for the group membership resource.\n\nLegacy contract (GroupUserSerializer fields=\"__all__\" + computed fields):\n    id           — integer legacy PK (from etl_id_registry.source_id)\n    user         — integer legacy user PK (from user_legacy_id)\n    group        — integer legacy group PK (from group_legacy_id)\n    group_roles  — [] (group leader role mapping is not implemented)\n    display_name — \"{first_name} {last_name}\".strip() or email fallback\n    user_full    — {id: int, email: str, first_name: str, last_name: str}\n\nSupported operations:\n    GET    /group-members              → list (paginated)\n    GET    /group-members/{public_id}  → detail (via ?legacy_id=<pk>&limit=1)\n    POST   /group-members              → create\n    DELETE /group-members/{public_id}  → destroy\n\nLimitation: group_roles is always [] — group leader role mapping is not implemented.","requestBody":{"content":{"application/json":null}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupUsers"}}}},"400":{"description":"validation error"},"401":{"description":"unauthenticated"},"404":{"description":"not found or out of tenant scope"}}}}}}
```

## GET /api/users/group\_users/{id}/

> Legacy /api/users/group\_users/ bridge resource.\
> \
> Mirrors the \`group\_tags\` precedent for the group membership resource.\
> \
> Legacy contract (GroupUserSerializer fields="\_\_all\_\_" + computed fields):\
> &#x20;   id           — integer legacy PK (from etl\_id\_registry.source\_id)\
> &#x20;   user         — integer legacy user PK (from user\_legacy\_id)\
> &#x20;   group        — integer legacy group PK (from group\_legacy\_id)\
> &#x20;   group\_roles  — \[] (group leader role mapping is not implemented)\
> &#x20;   display\_name — "{first\_name} {last\_name}".strip() or email fallback\
> &#x20;   user\_full    — {id: int, email: str, first\_name: str, last\_name: str}\
> \
> Supported operations:\
> &#x20;   GET    /group-members              → list (paginated)\
> &#x20;   GET    /group-members/{public\_id}  → detail (via ?legacy\_id=\<pk>\&limit=1)\
> &#x20;   POST   /group-members              → create\
> &#x20;   DELETE /group-members/{public\_id}  → destroy\
> \
> Limitation: group\_roles is always \[] — group leader role mapping is not implemented.

```json
{"openapi":"3.1.0","info":{"title":"Medtrics Legacy SIS Bridge (Compatibility API)","version":"draft-2026-10-29"},"servers":[{"url":"https://{client}.mymedtrics.com","description":"Tenant host; Caddy routes /api-banner/* and /api/* to the bridge (internal only)","variables":{"client":{"default":"<client-name>","description":"Tenant subdomain"}}},{"url":"http://localhost:8090","description":"local dev (see docker/caddy/Caddyfile for deployed hosts)"}],"security":[{"LegacyToken":[]},{"LegacyBasic":[]}],"components":{"securitySchemes":{"LegacyToken":{"type":"apiKey","in":"header","name":"Authorization","description":"Authorization: Token <hex>"},"LegacyBasic":{"type":"http","scheme":"basic"}},"schemas":{"GroupUsers":{"type":"object","description":"Legacy-shaped users/group_users record as served by the bridge; translated from Connect /group-members","properties":{"id":{"type":"integer","description":"legacy id of legacy_id"}}}}},"paths":{"/api/users/group_users/{id}/":{"get":{"operationId":"groupUsers_retrieve","tags":["GroupUsers"],"description":"Legacy /api/users/group_users/ bridge resource.\n\nMirrors the `group_tags` precedent for the group membership resource.\n\nLegacy contract (GroupUserSerializer fields=\"__all__\" + computed fields):\n    id           — integer legacy PK (from etl_id_registry.source_id)\n    user         — integer legacy user PK (from user_legacy_id)\n    group        — integer legacy group PK (from group_legacy_id)\n    group_roles  — [] (group leader role mapping is not implemented)\n    display_name — \"{first_name} {last_name}\".strip() or email fallback\n    user_full    — {id: int, email: str, first_name: str, last_name: str}\n\nSupported operations:\n    GET    /group-members              → list (paginated)\n    GET    /group-members/{public_id}  → detail (via ?legacy_id=<pk>&limit=1)\n    POST   /group-members              → create\n    DELETE /group-members/{public_id}  → destroy\n\nLimitation: group_roles is always [] — group leader role mapping is not implemented.","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupUsers"}}}},"400":{"description":"validation error"},"401":{"description":"unauthenticated"},"404":{"description":"not found or out of tenant scope"}}}}}}
```

## DELETE /api/users/group\_users/{id}/

> Legacy /api/users/group\_users/ bridge resource.\
> \
> Mirrors the \`group\_tags\` precedent for the group membership resource.\
> \
> Legacy contract (GroupUserSerializer fields="\_\_all\_\_" + computed fields):\
> &#x20;   id           — integer legacy PK (from etl\_id\_registry.source\_id)\
> &#x20;   user         — integer legacy user PK (from user\_legacy\_id)\
> &#x20;   group        — integer legacy group PK (from group\_legacy\_id)\
> &#x20;   group\_roles  — \[] (group leader role mapping is not implemented)\
> &#x20;   display\_name — "{first\_name} {last\_name}".strip() or email fallback\
> &#x20;   user\_full    — {id: int, email: str, first\_name: str, last\_name: str}\
> \
> Supported operations:\
> &#x20;   GET    /group-members              → list (paginated)\
> &#x20;   GET    /group-members/{public\_id}  → detail (via ?legacy\_id=\<pk>\&limit=1)\
> &#x20;   POST   /group-members              → create\
> &#x20;   DELETE /group-members/{public\_id}  → destroy\
> \
> Limitation: group\_roles is always \[] — group leader role mapping is not implemented.

```json
{"openapi":"3.1.0","info":{"title":"Medtrics Legacy SIS Bridge (Compatibility API)","version":"draft-2026-10-29"},"servers":[{"url":"https://{client}.mymedtrics.com","description":"Tenant host; Caddy routes /api-banner/* and /api/* to the bridge (internal only)","variables":{"client":{"default":"<client-name>","description":"Tenant subdomain"}}},{"url":"http://localhost:8090","description":"local dev (see docker/caddy/Caddyfile for deployed hosts)"}],"security":[{"LegacyToken":[]},{"LegacyBasic":[]}],"components":{"securitySchemes":{"LegacyToken":{"type":"apiKey","in":"header","name":"Authorization","description":"Authorization: Token <hex>"},"LegacyBasic":{"type":"http","scheme":"basic"}},"schemas":{"GroupUsers":{"type":"object","description":"Legacy-shaped users/group_users record as served by the bridge; translated from Connect /group-members","properties":{"id":{"type":"integer","description":"legacy id of legacy_id"}}}}},"paths":{"/api/users/group_users/{id}/":{"delete":{"operationId":"groupUsers_destroy","tags":["GroupUsers"],"description":"Legacy /api/users/group_users/ bridge resource.\n\nMirrors the `group_tags` precedent for the group membership resource.\n\nLegacy contract (GroupUserSerializer fields=\"__all__\" + computed fields):\n    id           — integer legacy PK (from etl_id_registry.source_id)\n    user         — integer legacy user PK (from user_legacy_id)\n    group        — integer legacy group PK (from group_legacy_id)\n    group_roles  — [] (group leader role mapping is not implemented)\n    display_name — \"{first_name} {last_name}\".strip() or email fallback\n    user_full    — {id: int, email: str, first_name: str, last_name: str}\n\nSupported operations:\n    GET    /group-members              → list (paginated)\n    GET    /group-members/{public_id}  → detail (via ?legacy_id=<pk>&limit=1)\n    POST   /group-members              → create\n    DELETE /group-members/{public_id}  → destroy\n\nLimitation: group_roles is always [] — group leader role mapping is not implemented.","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupUsers"}}}},"400":{"description":"validation error"},"401":{"description":"unauthenticated"},"404":{"description":"not found or out of tenant scope"}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.mymedtrics.com/api-reference/medtrics-classic-sis-bridge/group-users.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
