Sazabi
APIIntegrations

Update integration connection credentials

PATCH
/integrations/connections/{connectionId}/credentials

Replace an api_key connection's credentials in place — the reconnect path for a connection that needs attention. Keeps connection-scoped configuration.

Path Parameters

connectionId*string

Connection ID to update.

Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PATCH "https://example.com/integrations/connections/497f6eca-6276-4993-bfeb-53cbbbba6f08/credentials" \  -H "Content-Type: application/json" \  -d '{    "credentials": {      "property1": null,      "property2": null    }  }'
{  "connection": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "provider": "slack",    "displayName": "string",    "status": "pending",    "isActive": true,    "needsAttention": true,    "metadata": {      "property1": null,      "property2": null    },    "healthStatus": "healthy",    "healthMessage": "string",    "healthCheckedAt": "2019-08-24T14:15:22Z",    "healthConsecutiveFailures": -9007199254740991,    "connectedBy": "string",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z"  }}