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
}'
{}
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
}'
{}
Default version set successfully
The response is of type object
.
Was this page helpful?