cURL
curl --request PUT \ --url https://api.portkey.ai/v1/prompts/{promptId}/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.
object
Was this page helpful?