The PUT /environments/{environmentId}/flowDefinitions/{{flowDefinitionID}} operation updates the flow definition resource in the environment identified by its ID in the request URL.