cURL
curl --request DELETE \ --url https://api.thehaystack.ai/v2/haystack/media/chapters/{chapterId} \ --header 'Authorization: Bearer <token>'
{ "result": "success" }
Documentation IndexFetch the complete documentation index at: https://developer.thehaystack.ai/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://developer.thehaystack.ai/llms.txt
Use this file to discover all available pages before exploring further.
Enter your API token from the Haystack dashboard
Chapter deleted
"success"