---
title: "Get All Organization Groups with Role Definitions"
method: GET
path: "/api/v3.0/orgs/{orgUuid}/groups/roleDefinitions"
tags: ["Administration - Groups"]
---

# Get All Organization Groups with Role Definitions

`GET /api/v3.0/orgs/{orgUuid}/groups/roleDefinitions`

Returns a list of all groups within an organization with their role definitions

## Path parameters

- `orgUuid` string, required

## Query parameters

- `cursor` string
- `limit` string

## Response `200`

OK

- DWRResponsePageableV3ListGroupWithRoleDefinitionsSummaryDTOV3
  - `additionalData` object — + **totalItems**: The total count of data points returned in an API response.
  - `supportToken` string
  - `response` GroupWithRoleDefinitionsSummaryDTOV3[]
    - `uuid` string
    - `name` string
    - `description` string
    - `users` integer — The amount of users in that group
    - `affectedApplications` integer
    - `roleDefinitions` GroupScopeMultiRoleDefinitionDTOV3[]
      - `scopeUuid` string
      - `scopeName` string
      - `scopeType` 'organization' | 'application' | 'project' | 'account' | 'unsupported'
      - `roleDefinitions` RoleDefinitionDTOV3[]
        - `uuid` string
        - `name` string
        - `description` string
        - `type` string
        - `scopeType` 'organization' | 'application' | 'project' | 'account' | 'unsupported'
        - `createdBy` string
        - `createdAt` string, date-time
        - `updatedAt` string, date-time
        - `originalRole` string
        - `capabilities` string[]

## Other responses

- `400` — Bad Request
- `403` — Forbidden

---

[API](https://skmtc.dev/mend/apis/mend-api.md) · [All operations](https://skmtc.dev/mend/apis/mend-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/mend/mend-api/revisions/b2302e1b6c4c/schema)
