Delete a prompt by ID
POST
Delete a prompt by ID.
Personal access token scope: prompts:write.
bearerheader
AuthorizationBearer <token>A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).
application/json- body
id*stringPrompt ID to delete
Success
curl -X POST 'http://localhost:7091/api/delete_prompt' \ -H 'Content-Type: application/json' \ -d '{ "id": "string"}'Example Response200
Empty