curl -X DELETE "https://api.helicone.ai/v1/prompt-2025/prompt_123" \
-H "Authorization: Bearer $HELICONE_API_KEY"
const response = await fetch('https://api.helicone.ai/v1/prompt-2025/prompt_123', {
method: 'DELETE',
headers: {
'Authorization': `Bearer ${HELICONE_API_KEY}`,
},
});
null
Prompts
Delete Prompt
Delete an entire prompt and all its versions
DELETE
/
v1
/
prompt-2025
/
{promptId}
curl -X DELETE "https://api.helicone.ai/v1/prompt-2025/prompt_123" \
-H "Authorization: Bearer $HELICONE_API_KEY"
const response = await fetch('https://api.helicone.ai/v1/prompt-2025/prompt_123', {
method: 'DELETE',
headers: {
'Authorization': `Bearer ${HELICONE_API_KEY}`,
},
});
null
Permanently deletes a prompt and all associated versions.
Path Parameters
string
required
The unique identifier of the prompt to delete
Response
Returnsnull on successful deletion.
curl -X DELETE "https://api.helicone.ai/v1/prompt-2025/prompt_123" \
-H "Authorization: Bearer $HELICONE_API_KEY"
const response = await fetch('https://api.helicone.ai/v1/prompt-2025/prompt_123', {
method: 'DELETE',
headers: {
'Authorization': `Bearer ${HELICONE_API_KEY}`,
},
});
null
Was this page helpful?