Initialize new Subflow in an existing flow using the Admin API Methods

Hi Guys,

I would like to initialize a new subflow via the provided REST API (Admin API Methods). Therefore I want to update an existing flow. Is there any possibility to do that via the Rest API?

yes - you can post a new set of flows - POST /flows : Node-RED
but it will be a stop start deploy.

Do you have any example? Where is the id of the new node created? Do I have to post all flows? I would like just to deploy the flow updated.