@samrathal Per the docs you need to provide the ID:
Request
Name Location Type Description
| id | path | string | The connection id. |
| flowfile-uuid | path | string | The flowfile uuid. |
| clusterNodeId | query | string | The id of the node where the content exists if clustered. |
You should be getting that ID from the previous get call (Gets a FlowFile from a Connection) within the
response is an object:
FlowFileEntity
Inside is the "clusterNodeId" corresponding to which node that flowfile exists on.
{ "flowFile": { "uri": "value", "uuid": "value", "filename": "value", "position": 0, "size": 0, "queuedDuration": 0, "lineageDuration": 0, "penaltyExpiresIn": 0, "clusterNodeId": "value", "clusterNodeAddress": "value", "attributes": { "name": "value" }, "contentClaimSection": "value", "contentClaimContainer": "value", "contentClaimIdentifier": "value", "contentClaimOffset": 0, "contentClaimFileSize": "value", "contentClaimFileSizeBytes": 0, "penalized": true } }
Those details are exposed in the nifi api doc, just be sure to click into the entity.