Update an integration connection
PATCH
/v1/integrations/connections/{id}
const url = 'https://api.varman.io/v1/integrations/connections/example';const options = { method: 'PATCH', headers: {'X-API-Key': '<X-API-Key>', 'Content-Type': 'application/json'}, body: '{"organizationId":"example","metadata":{"connectionName":"Production AWS (renamed)","regions":["us-east-1","us-west-2"]}}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://api.varman.io/v1/integrations/connections/example \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <X-API-Key>' \ --data '{ "organizationId": "example", "metadata": { "connectionName": "Production AWS (renamed)", "regions": [ "us-east-1", "us-west-2" ] } }'Update an integration connection 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”id
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
metadata
Connection metadata to merge into the existing record. Common AWS keys: connectionName, regions (string array), awsScanMode (‘comp_scanners’ or ‘security_hub’). The server shallow-merges this with the existing metadata, so include only the keys you want to change.
object
key
additional properties
any
Example
{ "connectionName": "Production AWS (renamed)", "regions": [ "us-east-1", "us-west-2" ]}