How to disable Orchestrator Triggers with API calls?
Issue Description: How to enable/disable Orchestrator Triggers using API calls?
Resolution:
- Use Orchestrator HTTP Request the End Points odata/ProcessSchedules/UiPath.Server.Configuration.OData.SetEnable and mention the Json payload below to disable and enable the trigger based on folder.
Json Payload
{
"{enabled: false, scheduleIds: [20]}"
}
- If the trigger is disabled, use enabled parameter value to false and suppose need to disable multiple triggers means separate scheduled ID comma (for Example20,21) in the Json payload
- If the trigger is enabled, use enabled parameter value to true