---
title: "Delete user groups"
method: DELETE
path: "/restapi/json/v1/userGroup"
tags: ["User Groups"]
---

# Delete user groups

`DELETE /restapi/json/v1/userGroup`

## Request

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

Deletes one or more user groups in PAM360 using their user group IDs.

## Headers

- `orgName` string

## Request body `application/x-www-form-urlencoded`

- object
  - `INPUT_DATA` object: JSON containing the list of user group IDs to delete.
    - `operation` object
      - `details` object
        - `userGroupIds` integer[], required: List of user group IDs to be deleted

## Response `200`

User groups deleted

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