PUT
/v1/admin/templates/{id}/variables
Set Template Variables
Store the admin's placeholder→variable mapping on a single template row (per connector). Kept local — never sent to the provider — and preserved across syncs.
curl -X PUT https://api.{cluster}.{platform}.voiger.io/v1/admin/templates/{id}/variables \ -H "Cookie: sid=$VOIGER_SESSION" \ -H "x-workspace-code: your-workspace-code" \ -H "x-csrf-token: $CSRF_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "variables": [ { "key": "1", "name": "customer_name" }, { "key": "2", "name": "order_id" } ] }'
Parameters
x-workspace-code
string
required
in header
x-csrf-token
string
required
in header
id
string
required
in path
Response
variables▾keyname