Skip to main content
DELETE
/
scriptures
/
{scriptureId}
Delete scripture
curl --request DELETE \
  --url https://api.thehaystack.ai/v2/haystack/scriptures/{scriptureId} \
  --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

scriptureId
integer
required

Response

200 - application/json

Scripture deleted

result
string
Example:

"success"