[DOCS]: Knowledge API Access Delete Child Chunk #229

Closed
opened 2026-02-16 05:19:29 -05:00 by yindo · 0 comments
Owner

Originally created by @kenwoodjw on GitHub (Aug 23, 2025).

Type of Documentation Change

Error/Typo fix

Documentation Page URL or Path

https://cloud.dify.ai/datasets?category=api#delete_child_chunk

Current Content

When setting Language to en or jp

https://cloud.dify.ai/datasets?category=api#delete_child_chunk

curl --location --request DELETE 'https://api.dify.ai/v1/datasets/{dataset_id}/segments/{segment_id}/child_chunks/{child_chunk_id}' \
--header 'Authorization: Bearer {api_key}'

is wrong

Suggested Changes

The correct

curl --location --request DELETE 'https://api.dify.ai/v1/datasets/{dataset_id}/documents/{document_id}segments/{segment_id}/child_chunks/{child_chunk_id}' \
--header 'Authorization: Bearer {api_key}'

Reason for Change

No response

Code of Conduct

  • I agree to follow Dify's documentation contribution guidelines
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
  • Please do not modify this template :) and fill in all the required fields.
Originally created by @kenwoodjw on GitHub (Aug 23, 2025). ### Type of Documentation Change Error/Typo fix ### Documentation Page URL or Path https://cloud.dify.ai/datasets?category=api#delete_child_chunk ### Current Content When setting Language to en or jp https://cloud.dify.ai/datasets?category=api#delete_child_chunk ``` curl --location --request DELETE 'https://api.dify.ai/v1/datasets/{dataset_id}/segments/{segment_id}/child_chunks/{child_chunk_id}' \ --header 'Authorization: Bearer {api_key}' ``` is wrong ### Suggested Changes The correct ``` curl --location --request DELETE 'https://api.dify.ai/v1/datasets/{dataset_id}/documents/{document_id}segments/{segment_id}/child_chunks/{child_chunk_id}' \ --header 'Authorization: Bearer {api_key}' ``` ### Reason for Change _No response_ ### Code of Conduct - [x] I agree to follow Dify's documentation [contribution guidelines](https://github.com/langgenius/dify/blob/0277a37fcad5ad86aeb239485c27fffd5cd90043/CONTRIBUTING.md) - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report, otherwise it will be closed. - [x] 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :) - [x] Please do not modify this template :) and fill in all the required fields.
yindo added the documentation label 2026-02-16 05:19:29 -05:00
yindo closed this issue 2026-02-16 05:19:29 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-docs#229