curl --request PUT \
--url https://api.portkey.ai/v1/prompts/{promptId} \
--header 'Content-Type: application/json' \
--header 'x-portkey-api-key: <api-key>' \
--data '{
"name": "<string>",
"collection_id": "<string>",
"string": "<string>",
"parameters": {},
"model": "<string>",
"virtual_key": "<string>",
"version_description": "<string>",
"functions": [
{}
],
"tools": [
{}
],
"tool_choice": {},
"is_raw_template": 0,
"prompt_metadata": {}
}'