---
title: "GET /mr-api/organization/{id}/group"
method: GET
path: "/mr-api/organization/{id}/group"
tags: ["GroupService"]
---

# GET /mr-api/organization/{id}/group

`GET /mr-api/organization/{id}/group`

Gets the superuser group for this organisation. There is no other way to ascertain which org you are dealing with

## Response `200`

The superuser group presuming the organization exists

- Group
  - `createdBy` Person
    - `id` PersonId
      - `id` string, uuid, required
    - `name` string
    - `email` string, email
    - `personType` 'person' | 'serviceAccount' | 'sdkServiceAccount'
    - `other` string
    - `source` string
    - `version` integer
    - `passwordRequiresReset` boolean
    - `groups` Group[]
    - `whenArchived` string, date-time
    - `whenLastAuthenticated` string, date-time — This is the timestamp in UTC when they last logged into the system
    - `whenLastSeen` string, date-time — This is the timestamp in UTC when they last made a request to the system on their most recent login. If it is null it means they have no current token or have never logged in.
    - `additional` PersonInfo[]
      - `key` string, required — e.g. serviceAccountId
      - `value` string, required
  - `updatedBy` Person
    - `id` PersonId
      - `id` string, uuid, required
    - `name` string
    - `email` string, email
    - `personType` 'person' | 'serviceAccount' | 'sdkServiceAccount'
    - `other` string
    - `source` string
    - `version` integer
    - `passwordRequiresReset` boolean
    - `groups` Group[]
    - `whenArchived` string, date-time
    - `whenLastAuthenticated` string, date-time — This is the timestamp in UTC when they last logged into the system
    - `whenLastSeen` string, date-time — This is the timestamp in UTC when they last made a request to the system on their most recent login. If it is null it means they have no current token or have never logged in.
    - `additional` PersonInfo[]
      - `key` string, required — e.g. serviceAccountId
      - `value` string, required
  - `whenCreated` string, date-time
  - `whenUpdated` string, date-time
  - `id` string, uuid
  - `admin` boolean — is this an admin group?
  - `portfolioId` string, uuid
  - `organizationId` string, uuid — this will be the organisation this group belongs to at the top level, or if a portfolio group, the organisation of the portfolio
  - `version` integer
  - `name` string, required
  - `members` Person[]
    - `id` PersonId
      - `id` string, uuid, required
    - `name` string
    - `email` string, email
    - `personType` 'person' | 'serviceAccount' | 'sdkServiceAccount'
    - `other` string
    - `source` string
    - `version` integer
    - `passwordRequiresReset` boolean
    - `groups` Group[]
    - `whenArchived` string, date-time
    - `whenLastAuthenticated` string, date-time — This is the timestamp in UTC when they last logged into the system
    - `whenLastSeen` string, date-time — This is the timestamp in UTC when they last made a request to the system on their most recent login. If it is null it means they have no current token or have never logged in.
    - `additional` PersonInfo[]
      - `key` string, required — e.g. serviceAccountId
      - `value` string, required
  - `applicationRoles` ApplicationGroupRole[]
    - `applicationId` string, uuid, required
    - `groupId` string, uuid, required
    - `roles` ApplicationRoleType[], required
  - `environmentRoles` EnvironmentGroupRole[]
    - `environmentId` string, uuid, required
    - `groupId` string, uuid, required
    - `roles` RoleType[], required
  - `whenArchived` string, date-time

## Other responses

- `400` — Bad Request
- `401` — no permission
- `404` — not found

## Changes

- **2026-07-17** `faed5fd616c3` — 3 warning, 9 info
  - deleted the `path` request parameter `id`
  - added the new `FEATURE_CREATE` enum value to the `allOf[subschema #2]/applicationRoles/items/roles/items/` response property for the response status `200`
  - added the new `FEATURE_EDIT_AND_DELETE` enum value to the `allOf[subschema #2]/applicationRoles/items/roles/items/` response property for the response status `200`
  - added the optional property `allOf[#/components/schemas/Audit]/createdBy/allOf[#/components/schemas/Person]/personType` to the response with the `200` status
  - …8 more
- **2023-09-24** `b06e5f293bda` — 1 breaking, 9 warning, 2 info
  - added the new path request parameter `id`
  - removed the optional property `allOf[#/components/schemas/Audit]/createdBy/allOf[#/components/schemas/Person]/personType` from the response with the `200` status
  - removed the optional property `allOf[#/components/schemas/Audit]/createdBy/allOf[#/components/schemas/Person]/whenLastAuthenticated` from the response with the `200` status
  - removed the optional property `allOf[#/components/schemas/Audit]/createdBy/allOf[#/components/schemas/Person]/whenLastSeen` from the response with the `200` status
  - …8 more

[Change history](https://skmtc.dev/featurehub-io/apis/managementresourceapi/changes/mr-api/organization/:id/group/get.md)

---

[API](https://skmtc.dev/featurehub-io/apis/managementresourceapi.md) · [All operations](https://skmtc.dev/featurehub-io/apis/managementresourceapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/featurehub-io/managementresourceapi/revisions/faed5fd616c3/schema)
