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>"
}'
{}
Updates a collection’s details
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>"
}'
{}
ID or slug of the collection
OK
The response is of type object
.
Was this page helpful?