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"
}

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"