Skip to main content
POST
Python

Authorizations

Authorization
string
header
required

Enter your JWT token

Body

application/json

The replacement payload identifying the source and target connections.

Request body for replacing a connection used by a workflow.

workflowId
integer<int32>
required

Identifier of the workflow whose connection is being replaced.

originalConnectionId
integer<int32>
required

Identifier of the connection currently used by the workflow.

newConnectionId
integer<int32>
required

Identifier of the connection to use instead.

Response

The per-activity replacement result when every activity replaced cleanly. Any activity that could not be replaced (activity/object unavailable on the target) surfaces as a 400 ErrorResponse instead - see ConnectionApiService.ReplaceConnection.

Result of a connection replace across a workflow. Returned as the 200 body from both WorkflowUIController.ReplaceWorkflowConnection (UI, always 200 + toast) and ConnectionsController.ReplaceConnection (Developer API, 200 only when every activity replaced cleanly - any skip outcome maps to a 400 ErrorResponse instead).

succeeded
boolean
required

Overall success - true unless a caller-facing hard failure occurred upstream of replacement.

activities
object[]
required

Per-activity outcomes for every activity considered for the replace.