POST/v1/app-connections/replace

Replace an app connection

Replaces one app connection with another in a project. Supply projectId, sourceAppConnectionId, and targetAppConnectionId to specify the project and the connections involved.

  • IdempotentThe SDK sends Idempotency-Key, so a retried request is only applied once.

3 body fields

App connection replacement details. All three fields are required.

projectIdstringrequired
The identifier of the project where the replacement applies.
sourceAppConnectionIdstringrequired
The identifier of the app connection to replace.
targetAppConnectionIdstringrequired
The identifier of the app connection to use as the replacement.

1 status code
204Confirms that the app connection replacement completed.

Error handling

The body must include projectId, sourceAppConnectionId, and targetAppConnectionId.