Skip to main content
PATCH
/
hub
/
nodes
/
{collection_topic}
/
{node_topic}
Update a node
curl --request PATCH \
  --url https://api.quiva.ai/hub/nodes/{collection_topic}/{node_topic} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "subject": "ms.hub.config.node.1234567890.98765432",
  "data": {
    "name": "UpdatedNode",
    "description": "Updated node description",
    "node_type": "function",
    "payload": {
      "param1": "updated-value1",
      "param2": "updated-value2"
    }
  }
}
'
{
"message": "success"
}

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme

Path Parameters

collection_topic
string
required

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

node_topic
string
required

Node topic - hash of the names the node was created with

Body

application/json
data
object
required
archived
boolean

Whether the node is archived

Response

Node updated successfully

message
string

Success message