Disconnect a connection (v4)
POST/business/v4/spaces/:spaceId/network/connections/:connectionId:disconnect
Disconnects the source connection (sets status to DISCONNECTED, active to false, clears externalKey) and, when successorConnectionId is given, registers it as a predecessor on the successor connection. The request body is optional.
Scope: space_write
Request
Responses
- 204
- 400
- 403
- 404
- 409
- 422
Connection disconnected successfully.
successorConnectionId is the same as connectionId.
Not authorized to space_write on the space.
connectionId or, when given, successorConnectionId not found in the space.
connectionId is already DISCONNECTED, or the given successorConnectionId is DISCONNECTED.
Request body is invalid.