Update Case
thehive.update_case
ActionBusiness appsconnection required
Calls the TheHive API with the connection's credentials.
Merge fields into an existing case, such as status or assignee.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- Bearer token
- Providers
- TheHive
- Secret shape
- the TheHive API key, or {"api_key": "…"}
- Config it needs
- base_url
- Resolved by
- config.connection_id, else node.connection_id
Configuration
2 fields, 2 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
case_id TheHive id of the case, or its case number. | string | Yes | — | — | ~40964216 |
changes The fields to merge into the record, as a JSON object using TheHive's own field names, e.g. {"status": "InProgress", "assignee": "analyst"}. | object | Yes | — | ≥ 1 characters | {"status":"InProgress"} |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"case_id": "~40964216",
"changes": {
"status": "InProgress"
}
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
case_id The case that was changed. | string | — |
accepted True when TheHive took the change. It answers 204 with no body, so the updated record is not returned — read it back if you need it. | boolean | — |
fields The names of the fields that were sent, sorted. | array | — |
{
"accepted": false,
"case_id": "",
"fields": []
}See Update Case run in a workflow.
In a technical demo we add the TheHive connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.