---
title: "Fetch All Resource Groups Report"
method: GET
path: "/restapi/json/v1/reports/resourcegroups"
tags: ["Audits and Reports"]
---

# Fetch All Resource Groups Report

`GET /restapi/json/v1/reports/resourcegroups`

## Request

- Base URL: `https://Hostname:Port`
- URL: `https://Hostname:Port/restapi/json/v1/reports/resourcegroups`
- Auth: API key in header `AUTHTOKEN`
- TypeScript: <https://skmtc.dev/manageengine/apis/pam360-rest-api/docs/restapi/json/v1/reports/resourcegroups/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieves a list of all resource groups within the organization. Each entry includes the group ID and name. Useful for auditing and managing resource group allocations.

## Headers

- `orgName` string

## Response `200`

OK

- ResourceGroupReportResponse
  - `operation` object
    - `result` OperationResult
      - `message` string: Result message describing the operation outcome
      - `status` string: Operation status
    - `Details` object[]: List of resource groups in the organization
      - `resourceGroupId` integer
      - `resourceGroupName` string
    - `numberOfRowsFetched` integer
    - `totalRows` integer
    - `name` string

---

[API](https://skmtc.dev/manageengine/apis/pam360-rest-api.md) - [All operations](https://skmtc.dev/manageengine/apis/pam360-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/manageengine/apis/pam360-rest-api/revisions/44a47abb4bdb?raw)
