Skip to main content
DELETE
/
media
/
chapters
/
{chapterId}
Delete chapter
curl --request DELETE \
  --url https://api.thehaystack.ai/v2/haystack/media/chapters/{chapterId} \
  --header 'Authorization: Bearer <token>'
{
  "result": "success"
}

Documentation Index

Fetch the complete documentation index at: https://developer.thehaystack.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Enter your API token from the Haystack dashboard

Path Parameters

chapterId
integer
required

Response

200 - application/json

Chapter deleted

result
string
Example:

"success"