Skip to content

Update a connection

PATCH
/accounts/{accountId}/connections/{connectionId}

Update mapping, eventConfig or status; set the outbound credential.

accountId
required
string
connectionId
required
string

Opaque connection id (conn_…).

object
label
string
status
string
Allowed values: needs_setup active paused error
mapping

Payload-path ↔ visitor-attribute mapping.

object
key
additional properties
string
outboundCredential

Write-only. The provider credential (e.g. a Segment write key).

string

Updated.

object
connectionId
string
conn_8s9d
accountId
string
provider
string
Allowed values: segment generic
label
string
status
string
Allowed values: needs_setup active paused error
connectMethod
string
Allowed values: webhook marketplace
createdAt
string format: date-time
lastInboundAt
string format: date-time
lastOutboundAt
string format: date-time

Missing or invalid authentication/signature.

object
error
object
code
string
invalid_signature
message
string
requestId
string

Resource not found.

object
error
object
code
string
invalid_signature
message
string
requestId
string
Was this page helpful? Tell us / report an issue ↗