Skip to main content
PATCH
/
hub
/
collections
/
{collection_type}
/
{collection_topic}
Update a Workflow or Node collection
curl --request PATCH \
  --url https://api.quiva.ai/hub/collections/{collection_type}/{collection_topic} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "subject": "ms.hub.config.collection.node.1234567890",
  "description": "Updated collection description"
}
'
{
  "message": "success"
}

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme

Path Parameters

collection_type
enum<string>

List only 'node' or only 'workflow' collections. If this parameter is omitted, both will be listed

Available options:
node,
workflow
collection_topic
string
required

The topic is a hash of the name that was used when a collection was created

Body

application/json
subject
string
required

Subject of the collection to update

description
string

Updated description of the collection

Response

Collection updated successfully

message
string

Success message