v1

latestOpenAPI 3.0.22026-07-144652931.4 MB
Event Orchestrations

Update a Cache Variable for a Global Event Orchestration

Update a Cache Variable for a Global Event Orchestration.

Cache Variables allow you to store event data on an Event Orchestration, which can then be used in Event Orchestration rules as part of conditions or actions.

For more information see the API Concepts Document

Scoped OAuth requires: event_orchestrations.write

put/event_orchestrations/{id}/cache_variables/{cache_variable_id}

Path parameters

idstring required

The ID of an Event Orchestration.

cache_variable_idstring required

The ID of a Cache Variable.

Headers

Acceptstring required

The Accept header is used as a versioning header.

Content-Type'application/json' required

Request body

Example request

{
  "cache_variable": {
    "configuration": {
      "source": "event.summary"
    },
    "conditions": [
      {
        "expression": "event.summary matches part 'my service error'"
      }
    ]
  }
}

Response

The updated Cache Variable for this Event Orchestration.

Example response

{
  "cache_variable": {
    "configuration": {
      "source": "event.summary"
    },
    "conditions": [
      {
        "expression": "event.summary matches part 'my service error'"
      }
    ]
  }
}