For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
DiscordPlatform
DocumentationIntegrationsAPI referenceSDKsChangelog
DocumentationIntegrationsAPI referenceSDKsChangelog
  • API Reference
      • POSTList prompts
      • POSTCreate a prompt
      • GETRetrieve a prompt
      • PATCHUpdate a prompt
      • DELDelete a prompt
      • POSTCreate a prompt version
      • GETList prompt versions
      • GETRetrieve a prompt version
      • PATCHUpdate a prompt version
      • DELDelete a prompt version
      • POSTCommit a prompt version
      • POSTDeploy a prompt version
      • GETGet prompts summary
      • POSTGet prompts summary with filters
  • Reference
    • Filters API Reference
LogoLogo
DiscordPlatform
API ReferencePrompts

Delete a prompt

DELETE
https://api.respan.ai/api/prompts/:prompt_id/
DELETE
/api/prompts/:prompt_id/
$curl -X DELETE https://api.respan.ai/api/prompts/prompt_id/ \
> -H "Authorization: Bearer sk_live_xxxxx"
Delete a prompt and its versions from the active prompt library.
Was this page helpful?
Previous

Create a prompt version

Next
Built with

Path parameters

prompt_idstringRequired
The unique prompt identifier.

Headers

AuthorizationstringRequired

Bearer token. Use Bearer YOUR_API_KEY.

Errors

401
Unauthorized Error
404
Not Found Error