Zatomic API

Delete Prompt

Permanently deletes a prompt and all of its versions. This action cannot be undone.

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

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

Endpoint Response

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

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