Mcp Update Hook
PATCH
HTTPBearerheader
AuthorizationBearer <token>owner_node_id*Owner Node Idhook_id*Hook Idapplication/json- body
Fields to change on a hook; send at least one.
A null name, scope or rerun_policy leaves that field unchanged, but a
null workflow_yaml is rejected: it must be a non-empty workflow YAML
string. Enable or disable a hook through the /enabled route instead.
Properties
1 <= propertiesname?string|nullrerun_policy?string|nullscope?|nullworkflow_yaml?string|nullSuccessful Response
application/json- response
hook*[key: string]?anyExample Request
curl -X PATCH 'https://flywheel.paradigma.inc/api/v1/nodes/string/hooks/string' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "hook": { "action_config": {}, "action_type": "string", "created_at": "string", "enabled": true, "hook_id": "string", "name": "string", "owner_node_id": "string", "rerun_policy": "if_inputs_changed", "scope": "self", "trigger_event": "artifact.finalized", "trigger_events": [ "artifact.finalized" ], "updated_at": "string", "workflow": {}, "workflow_yaml": "string" }}