Orchestrator API for disable user to run automation

I need API for disable run automation in orchestrator.I have attached screen shot.

image

Hi @Elancheran_E18 ,
Thanks for reaching out to UiPath Community.

To disable a job using the Orchestrator API, you can make use of the Jobs endpoints.
First, you need to get the details of the job you want to disable. You can do this by using the Jobs endpoint to fetch a list of jobs or a specific job by its ID.

Once you have the job information, use the Jobs endpoint along with the job ID to update the job status. You’ll need to use the Update a Job endpoint and set the job’s startProcessing property to false.

Regards,
@pratik.maskar

Hi,

I need API for enable/disable the option " Enable user to run automation" in orchestrator.I have attached screen shot.

image

Thats not what they asked for.

@Elancheran_E18
This is the API Request you need. I confirmed it by capturing network traffic when I toggled this via the Ui. Its definitely this one.