Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

NIFI enabling an output port using the REST API

avatar
New Contributor

On the nifi rest api doc its says that you can use the endpoint '/output-ports/{id}/run-status' with a put to run, stop or disable an output port

I would like to enable an output port, is it possible ?

 

Capture.PNG

1 REPLY 1

avatar
Expert Contributor

Hi @ripo ,

 

I've tried it out in my own environment and it does not seem like ports have an 'ENABLED' state. If a port is DISABLED, you can only update it to be STOPPED. from a STOPPED state, you can either switch the port to RUNNING or back to DISABLED.