curl --request PUT \
--url https://api.portkey.ai/v1/prompts/partials/{promptPartialId} \
--header 'Content-Type: application/json' \
--header 'x-portkey-api-key: <api-key>' \
--data '{
"name": "<string>",
"string": "<string>",
"description": "<string>",
"status": "<string>"
}'
{
"prompt_partial_version_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
curl --request PUT \
--url https://api.portkey.ai/v1/prompts/partials/{promptPartialId} \
--header 'Content-Type: application/json' \
--header 'x-portkey-api-key: <api-key>' \
--data '{
"name": "<string>",
"string": "<string>",
"description": "<string>",
"status": "<string>"
}'
{
"prompt_partial_version_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
Prompt partial updated successfully
The response is of type object
.
Was this page helpful?