Zatomic API

Delete Version

Permanently deletes a prompt version. This action cannot be undone.

Endpoint
DELETE https://api.zatomic.ai/v1/prompts/{promptId}/versions/{versionId}

// Example
DELETE https://api.zatomic.ai/v1/prompts/prm_2qRzu8geIvfudcJTwP0pur4TbMJ/versions/ver_2qRzu8qzlNOMhTrini2EKCDh5r6

Endpoint Response

A successful call returns a 204 status code with no content.

HTTP Status Codes
204 No Content The version was deleted.
404 Not Found The version didn't exist.
500 Internal Server Error Something went wrong on Zatomic's end.