Prompt Version
Delete Prompt Version
Deletes a specific prompt version
DELETE
Delete a Prompt Version
This endpoint deletes a specific prompt version by its ID.
URL Parameters
Parameter | Type | Description |
---|---|---|
id | string | The ID of the prompt version to delete |
Examples
Response
The response includes a confirmation of the deletion.
Notes
- Deleting a promoted prompt version will remove it from being available for use in completions.
- If a prompt has only one version, you may not be able to delete it without first deleting the entire prompt.
- Deleted prompt versions cannot be recovered. Make sure you want to permanently remove the version before calling this endpoint.