Prompts
Delete a prompt version
Changed onDeletes the version. Deleting the deployed version leaves the prompt with no live version, so deploy another version first.
delete/api/prompts/{prompt_id}/versions/{version}/
Request
- Base URLhttps://api.respan.ai
- URLhttps://api.respan.ai/api/prompts/{prompt_id}/versions/{version}/
- Auth
- HTTP bearer
- or HTTP bearer
Path parameters
prompt_idstring required
The unique prompt identifier.
versioninteger required
The prompt version number.
Response
No content.
Changes
- breaking
removed the success response with the status
- info
api operation id
prompts_deletePromptVersionremoved and replaced withdeletePromptVersion - info
the endpoint scheme security
DashboardJwtwas added to the API - info
api tag
Promptsadded - info
api tag
promptsremoved - info
added the success response with the status
- breaking
- warning
removed the optional property
from the response with the status - info
added the non-success response with the status
- info
removed the non-success response with the status
- info
removed the non-success response with the status
- info
added the required property
to the response with the status
- warning