Update connection variables
POST
/v1/integrations/variables/connections/{connectionId}
const url = 'https://api.varman.io/v1/integrations/variables/connections/example';const options = { method: 'POST', headers: {'X-API-Key': '<X-API-Key>', 'Content-Type': 'application/json'}, body: '{"organizationId":"example","variables":{"scan-interval-hours":24,"enabled-regions":["us-east-1","us-west-2"],"strict-mode":true}}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.varman.io/v1/integrations/variables/connections/example \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <X-API-Key>' \ --data '{ "organizationId": "example", "variables": { "scan-interval-hours": 24, "enabled-regions": [ "us-east-1", "us-west-2" ], "strict-mode": true } }'Update connection variables in Varman. Connect vendor systems, configure OAuth apps, run compliance checks, sync employees, manage variables, and collect automated evidence.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”connectionId
required
string
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
organizationId
Auto-resolved from your API key / session. You can omit this; it is ignored by the server.
string
variables
required
Map of variable id → value to persist for this connection. Values can be string, number, boolean, or string[] (the shape is provider-defined — call get-connection-variables to see what each connection accepts). Pass only the variables you want to set; existing ones not included are left untouched.
object
key
additional properties
any
Example
{ "scan-interval-hours": 24, "enabled-regions": [ "us-east-1", "us-west-2" ], "strict-mode": true}