---
title: "Check whether a group is eligible to be deleted from history"
method: GET
path: "/v2/org/{orgId}/group/{groupId}/can-purge"
tags: ["group"]
---

# Check whether a group is eligible to be deleted from history

`GET /v2/org/{orgId}/group/{groupId}/can-purge`

## Request

- Base URL: `https://localhost`
- URL: `https://localhost/v2/org/{orgId}/group/{groupId}/can-purge`
- Auth: none declared

## Path parameters

- `orgId` string, required
- `groupId` string, required

## Response `200`

eligibility computed

- DeleteFromHistoryEligibility
  - `canDeleteFromHistory` boolean, required
  - `reasons` string[], required

## Other responses

- `401`: not authorized
- `403`: permission denied
- `404`: not found

---

[API](https://skmtc.dev/charthop/apis/charthop-api.md) - [All operations](https://skmtc.dev/charthop/apis/charthop-api/llms.txt) - [OpenAPI document](https://skmtc.dev/charthop/apis/charthop-api/revisions/9076630a0d55?raw)
