Dispach
HTTP API
PUT
/v1/agents/{id}/secrets

Authorization

bearer
headerAuthorizationBearer <token>

An operator key or the configured token.

Path Parameters

id*string

Request Body

application/json
  1. body
values*

Variables to write into the agent's .env, keyed by name. Only names the agent's manifest reads are accepted.

Response Body

written; applied says whether the agent is running on them

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