prompts
Delete Prompt
Delete a prompt
👉 Prompt docs
Example Request:
curl -X DELETE "http://localhost:4000/prompts/my_prompt_id" \
-H "Authorization: Bearer <your_api_key>"
Example Response:
{
"message": "Prompt my_prompt_id deleted successfully"
}
delete/prompts/{prompt_id}
Request
- Base URL: https://docs.litellm.com.cn (the document declares no server; this is the origin it was published from)
- URL: https://docs.litellm.com.cn/prompts/{prompt_id}
- Auth: API key in header x-litellm-api-key
Path parameters
prompt_idstring required
Query parameters
environmentstring nullable
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.