Try our new Setup Skill to automatically integrate Hyperspell into your project
curl --request DELETE \
--url https://api.hyperspell.com/context-documents/tree/edits/{edit_id} \
--header 'Authorization: Bearer <token>'{}Clear an edit — sets cleared_at and removes it from future overlays.
For ADD edits with a corresponding user-prompt stored on ContextDocConfig.prompts[tier][key], also clear that prompt so the prompts UI doesn’t dangle an entry for a file that no longer exists.
Keeps the row around for audit. To restore, the user re-creates the edit via PATCH /files.
curl --request DELETE \
--url https://api.hyperspell.com/context-documents/tree/edits/{edit_id} \
--header 'Authorization: Bearer <token>'{}Documentation Index
Fetch the complete documentation index at: https://docs.hyperspell.com/llms.txt
Use this file to discover all available pages before exploring further.
Was this page helpful?