Unable to enable or disable using HTTP call

I am getting error as setEnabled Parameters must not be null while trying to enable or disable the orcestrator triggers(process schedulers) using Uipath.web.activities.httpClient. below are the dedtails of it
body:
“{
enabled: True,
scheduleIds: [
13
]
}”

headers:


am i missing anything? Please help me in getting the above activity worked. Able to test this from the swagger.

Please try with Orchestrator Http request activity.
The relative end point should be “/odata/ProcessSchedules/UiPath.Server.Configuration.OData.SetEnabled”
In the jsonpayload, enter “{
enabled: True,
scheduleIds: [
13
]
}”
method - Post
Folder Path - [your folder name in orchestrator where process is deployed]

Let me know how it works

Check this post as it seems it is addressing the same requirement Orchestrator API call to enable/disable triggers - #6 by marian.platonov