---
title: "Internal Delete Group"
method: POST
path: "/api/internal/delete-group"
tags: ["Server Management"]
---

# Internal Delete Group

`POST /api/internal/delete-group`

## Request

- The document declares no server URL.
- Auth: HTTP bearer

Internal endpoint to delete a group from both Keycloak and scopes.yml (requires HTTP Basic Authentication with admin credentials).

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

- BodyInternalDeleteGroupApiInternalDeleteGroupPost
  - `group_name` string, required
  - `delete_from_keycloak` boolean
  - `force` boolean

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/ascending-llc/apis/mcp-gateway-registry.md) - [All operations](https://skmtc.dev/ascending-llc/apis/mcp-gateway-registry/llms.txt) - [OpenAPI document](https://skmtc.dev/ascending-llc/apis/mcp-gateway-registry/revisions/31381943e2e7?raw)
