---
title: "DELETE /applications/{applicationId}/indices/{indexId}/groups/{groupName}"
method: DELETE
path: "/applications/{applicationId}/indices/{indexId}/groups/{groupName}"
---

# DELETE /applications/{applicationId}/indices/{indexId}/groups/{groupName}

`DELETE /applications/{applicationId}/indices/{indexId}/groups/{groupName}`

Deletes a group so that all users and sub groups that belong to the group can no longer access documents only available to that group. For example, after deleting the group "Summer Interns", all interns who belonged to that group no longer see intern-only documents in their chat results.

If you want to delete, update, or replace users or sub groups of a group, you need to use the `PutGroup` operation. For example, if a user in the group "Engineering" leaves the engineering team and another user takes their place, you provide an updated list of users or sub groups that belong to the "Engineering" group when calling `PutGroup`.

## Path parameters

- `applicationId` string, required
- `indexId` string, required
- `groupName` string, required

## Query parameters

- `dataSourceId` string

## Response `200`

Success

- DeleteGroupResponse

## Other responses

- `480` — InternalServerException
- `481` — ResourceNotFoundException
- `482` — ConflictException
- `483` — ThrottlingException
- `484` — ValidationException
- `485` — AccessDeniedException

---

[API](https://skmtc.net/aws/apis/qbusiness.md) · [All operations](https://skmtc.net/aws/apis/qbusiness/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/qbusiness/versions/82966d6c4053/schema)
