---
title: "Remove Chunk from Group"
method: DELETE
path: "/api/chunk_group/chunk/{group_id}"
tags: ["Chunk Group"]
---

# Remove Chunk from Group

`DELETE /api/chunk_group/chunk/{group_id}`

Route to remove a chunk from a group. Auth'ed user or api key must be an admin or owner of the dataset's organization to remove a chunk from a group.

## Path parameters

- `group_id` string, uuid, required

## Query parameters

- `chunk_id` string, uuid, nullable

## Headers

- `TR-Dataset` string, uuid, required

## Request body

- RemoveChunkFromGroupReqPayload
  - `chunk_id` string, uuid, required — Id of the chunk to remove from the group.

## Response `204`

Confirmation that the chunk was removed to the group

## Other responses

- `400` — Service error relating to removing the chunk from the group

---

[API](https://skmtc.net/devflowinc/apis/trieve-api.md) · [All operations](https://skmtc.net/devflowinc/apis/trieve-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/devflowinc/trieve-api/versions/84583e7c9fc1/schema)
