---
title: "Schedule a group for deletion"
method: DELETE
path: "/api/v4/groups/{id}"
tags: ["groups"]
---

# Schedule a group for deletion

`DELETE /api/v4/groups/{id}`

## Request

- Base URL: `https://gitlab.com`
- URL: `https://gitlab.com/api/v4/groups/{id}`
- Auth: none declared

Schedules a group for deletion. Groups are deleted at the end of the retention period (30 days by default). Use the `permanently_remove` param to override the retention period.

## Path parameters

- `id` string, required

## Response `202`

Accepted

---

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