Skip to main content
PATCH
/
compute
/
collections
/
{collection_topic}
Update a collection
curl --request PATCH \
  --url https://api.quiva.ai/compute/collections/{collection_topic} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "description": "Updated collection description",
  "collection_type": "function"
}
'
{
  "message": "success"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

collection_topic
string
required

Collection topic identifier

Body

application/json

Collection properties to update

name
string

Collection name

description
string

Collection description

collection_type
string

Collection type

Response

Collection patched successfully

message
string

Success message