How to Stop the Trigger(Schedule) thru API

I want to stop the trigger(schedule) using process thru API call, is there a way ?

I hope we have the api available to start or trigger a process but no api available to stop the Schedules. But you can stop the job or even the multiple jobs using API. Please check the documentation and let me know if this works

Hi,
use:

POST /odata/ProcessSchedules/UiPath.Server.Configuration.OData.SetEnabled

It allows you to: Enables/disables a group of schedules.

If you use UiPath Studio activity, you will find it here:
image

Before you can do an activity, you need to get ID Schedule, use the GetProcessSchedules activity.

In Swagger:

GET /odata/ProcessSchedules

1 Like