---
title: "Remove User Group"
url: "https://public-api-docs.cipherscale.com/apis/cipherscale-api-1/versions/fef69080-6094-4620-8bf0-16fd2de7b598/operations/GroupsController_delete"
---

> Full API specification: https://public-api-docs.cipherscale.com/apis/cipherscale-api-1/versions/fef69080-6094-4620-8bf0-16fd2de7b598.md

# Remove User Group

`DELETE` `/tenants/groups/{id}`

Operation ID: `GroupsController_delete`

Permanently removes a user group from the tenant. This operation will also remove all group members and revoke group-based permissions.

## Path parameters

- `id` (string, uuid, required) - The unique identifier (UUID) of the group to delete

## Responses

- `204` - Successfully deleted the group
- `401` - Unauthorized - Invalid or missing authentication token
- `403` - Forbidden - Insufficient permissions to perform this operation.
- `404` - Group not found with the provided ID

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Cipherscale API
  version: "1.0"
servers:
  - url: https://public-api.cipherscale.com/qa
    description: Cipherscale Public API Server
paths:
  /tenants/groups/{id}:
    delete:
      operationId: GroupsController_delete
      summary: Remove User Group
      description: Permanently removes a user group from the tenant. This operation
        will also remove all group members and revoke group-based permissions.
      parameters:
        - name: id
          required: true
          in: path
          description: The unique identifier (UUID) of the group to delete
          schema:
            format: uuid
            type: string
      responses:
        "204":
          description: Successfully deleted the group
        "401":
          description: Unauthorized - Invalid or missing authentication token
        "403":
          description: Forbidden - Insufficient permissions to perform this operation.
        "404":
          description: Group not found with the provided ID
      tags:
        - Groups
      security:
        - ApiKeyAuth: []
security:
  - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: apikey
```
