---
title: "Delete user group"
method: DELETE
path: "/wiki/rest/api/group/by-id"
tags: ["Group"]
---

# Delete user group

`DELETE /wiki/rest/api/group/by-id`

Delete user group.

**[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
User must be a site admin.

## Query parameters

- `id` string, required

## Response `204`

Returned if the group was removed successfully.

## Other responses

- `400` — Returned if the id is missing or invalid.
- `401` — Returned if the calling user is not logged in to Confluence.
- `403` — Returned if the user is not a site admin.
- `404` — If no user group by the given id exists.

---

[API](https://skmtc.net/atlassian/apis/the-confluence-cloud-rest-api.md) · [All operations](https://skmtc.net/atlassian/apis/the-confluence-cloud-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/atlassian/the-confluence-cloud-rest-api/revisions/70088490f406/schema)
