Set a version as the default for a prompt partial
curl --request PUT \
--url https://api.portkey.ai/v1/prompts/partials/{promptPartialId}/makeDefault \
--header 'Content-Type: application/json' \
--header 'x-portkey-api-key: <api-key>' \
--data '{
"version": 123
}'{}Publish Partial
PUT
/
prompts
/
partials
/
{promptPartialId}
/
makeDefault
Set a version as the default for a prompt partial
curl --request PUT \
--url https://api.portkey.ai/v1/prompts/partials/{promptPartialId}/makeDefault \
--header 'Content-Type: application/json' \
--header 'x-portkey-api-key: <api-key>' \
--data '{
"version": 123
}'{}Documentation Index
Fetch the complete documentation index at: https://portkey-docs-fix-cache-hit-elaborate.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Last modified on May 21, 2026
Was this page helpful?
⌘I

