Skip to main content
PUT
/
v1
/
integrations
/
connections
/
{id}
/
services
Set services enabled on a connection
curl --request PUT \
  --url https://api.trycomp.ai/v1/integrations/connections/{id}/services \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "services": [
    "s3",
    "iam",
    "cloudtrail"
  ]
}
'

Authorizations

X-API-Key
string
header
required

API key for authentication

Path Parameters

id
string
required

Body

application/json
services
string[]
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.

Example:
["s3", "iam", "cloudtrail"]
organizationId
string

Auto-resolved from your API key / session. You can omit this; it is ignored by the server.

Response

200 - undefined