cURL
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
ID or slug of the collection
OK
The response is of type object.
object
Was this page helpful?