# Delete group

`DELETE /v1/organizations/{organization}/groups/{group}`, operation `groups.DeleteGroup`

Deletes a group. A group that has members is only deleted with force; its members then lose the roles granted to the group.

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `organization` | path | Yes | `string` | The organization's ID. |
| `group` | path | Yes | `string` | The group's ID. |
| `force` | query | No | `boolean` | Deletes the group even if it has members, removing their memberships: they lose the roles granted to the group. Without it, deleting a group with members fails with failed_precondition. |

## Responses

### 204

No Content

### default

Error

Base URL: `https://api.kosem.ai`. See [API conventions](https://docs.kosem.ai/reference/api-conventions.md) for authentication, pagination and errors, and [https://docs.kosem.ai/openapi.yaml](https://docs.kosem.ai/openapi.yaml) for the full OpenAPI document.