Integrations

Update a connection

PATCH
/integrations/connections/{connection_id}

Change label, public_config or enabled of a connection the caller owns or, as an active organization admin, one that lives in their organization. A disabled connection rejects every provider call; any change clears the last test result. The environment is not editable here: use integrations.connections.set_environment.

Authorization

bearerApiKey
AuthorizationBearer <token>

Create a scoped API key in the Adlass settings.

In: header

Path Parameters

connection_id*string

Resource identifier: connection_id.

Formatuuid

Header Parameters

X-Request-Id?string

Optional correlation identifier.

Lengthlength <= 128
Idempotency-Key?string

A unique key for this intended write; the body field idempotency_key is accepted instead. One of the two is required. Reuse it only for an identical retry.

Length1 <= length <= 200

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X PATCH "https://example.com/integrations/connections/123e4567-e89b-42d3-a456-426614174000" \  -H "Idempotency-Key: 123e4567-e89b-42d3-a456-426614174000" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "123e4567-e89b-42d3-a456-426614174000",  "provider_key": "klaviyo",  "auth_scheme": "example",  "label": "Customer documents",  "external_identity": "example",  "owner": {    "id": "123e4567-e89b-42d3-a456-426614174000",    "email": "ada@example.com",    "name": "Customer documents",    "image_url": "example"  },  "public_config": {},  "status": "ACTIVE",  "enabled": false,  "environment": "example",  "safe_error_code": "example",  "test_summary": {},  "pending_step": {},  "provider_contract_digest": "example",  "last_tested_at": "example",  "created_at": "example",  "updated_at": "example",  "setup_required": false,  "offered_operations": [],  "scope": {},  "issue": "example",  "next_step": {}}