---
title: "Delete a resource group"
method: DELETE
path: "/restapi/json/v1/resourcegroup"
tags: ["Resource Groups"]
---

# Delete a resource group

`DELETE /restapi/json/v1/resourcegroup`

## Request

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

Deletes a specified resource group from PAM360 using its ID.

## Query parameters

- `RESOURCEGROUPID` integer, required

## Headers

- `orgName` string

## Response `200`

Resource group deleted

- DeleteResourceGroupResponse
  - `operation` object
    - `result` OperationResult
      - `message` string: Result message describing the operation outcome
      - `status` string: Operation status
    - `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)
