Dispach
HTTP API
PATCH
/v1/agents/{id}/vars

Authorization

bearer
headerAuthorizationBearer <token>

An operator key or the configured token.

Path Parameters

id*string

Request Body

application/json
  1. body
vars*

The template variables to change. Only files nobody has edited since they were rendered are rewritten.

Response Body

files changed and a turn is running: the reload lands when it ends

Example Request
curl -X PATCH 'http://localhost:7420/v1/agents/string/vars' \  -H 'Content-Type: application/json' \  -d '{  "vars": {    "property1": "string",    "property2": "string"  }}'
Example Response
Empty