updateFlow

abstract suspend fun updateFlow(input: UpdateFlowRequest): UpdateFlowResponse

Updates an existing flow. Supply only the fields you want to change. Updates both DRAFT and PUBLISHED versions. When FlowDefinition is provided, all existing steps are replaced with the new definition.