API Reference
Virtual Keys
Prompts
- POSTCreate Prompt
- GETList Prompts
- GETRetrieve Prompt
- PUTUpdate Prompt
- DELDelete Prompt
- PUTPublish Prompt
- GETList Prompt Versions
- GETRetrieve Prompt Version
- PUTUpdate Prompt Version
- Prompt Partials
- Prompt Labels
- Prompt Collections
API Keys
Analytics [BETA]
- Summary
- Groups Paginated Data
- Graphs - Time Series Data
User Invites
Workspaces
Workspace Members
Audit Logs
OpenAPI
Delete Prompt
DELETE
/
prompts
/
{promptId}
curl --request DELETE \
--url https://api.portkey.ai/v1/prompts/{promptId} \
--header 'x-portkey-api-key: <api-key>'
{}
Authorizations
Path Parameters
Response
200
application/json
Prompt deleted successfully
The response is of type object
.
Was this page helpful?
curl --request DELETE \
--url https://api.portkey.ai/v1/prompts/{promptId} \
--header 'x-portkey-api-key: <api-key>'
{}