Set services enabled on a connection
PUT
/v1/integrations/connections/{id}/services
const url = 'https://api.varman.io/v1/integrations/connections/example/services';const options = { method: 'PUT', headers: {'X-API-Key': '<X-API-Key>', 'Content-Type': 'application/json'}, body: '{"organizationId":"example","services":["s3","iam","cloudtrail"]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://api.varman.io/v1/integrations/connections/example/services \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <X-API-Key>' \ --data '{ "organizationId": "example", "services": [ "s3", "iam", "cloudtrail" ] }'Set services enabled on a 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
services
required
Service IDs to enable on this connection. Any service IDs from the provider’s manifest that are NOT in this list become disabled. Pass an empty array to disable all services.
Array<string>
Example
[ "s3", "iam", "cloudtrail"]