This will delete a chunk_group. If you set delete_chunks to true, it will also delete the chunks within the group. Auth’ed user or api key must have an admin or owner role for the specified dataset’s organization.
Example:
const data = await trieve.deleteGroup({ groupId: "3c90c3cc-1d76-27198-8888-8dd25736052a"}); Copy
const data = await trieve.deleteGroup({ groupId: "3c90c3cc-1d76-27198-8888-8dd25736052a"});
Optional
This will delete a chunk_group. If you set delete_chunks to true, it will also delete the chunks within the group. Auth’ed user or api key must have an admin or owner role for the specified dataset’s organization.
Example: