Update collection
curl --request PUT \
--url https://api.portkey.ai/v1/collections/{collectionId} \
--header 'Content-Type: application/json' \
--header 'x-portkey-api-key: <api-key>' \
--data '
{
"name": "<string>"
}
'{}Update Prompt Collection
Updates a collectionโs details
PUT
/
collections
/
{collectionId}
Update collection
curl --request PUT \
--url https://api.portkey.ai/v1/collections/{collectionId} \
--header 'Content-Type: application/json' \
--header 'x-portkey-api-key: <api-key>' \
--data '
{
"name": "<string>"
}
'{}Last modified on March 9, 2026
Was this page helpful?
โI

