Update a schedule
Updates a schedule's active state or fields such as fleet, date, repeat period, and parallelism.
PATCH
/api/schedule/{id}Path parameters
idnumberrequiredPath parameter: id
Body
is_activebooleanfleetstringdatestringrepeat_periodintegerparallelismintegerRequest
curl
curl -X PATCH https://platform.trickest.com/api/schedule/{id} \
-H "Authorization: Bearer $TRICKEST_TOKEN" \
-H "Content-Type: application/json" \
-d '{ }'Responses
200Updated schedule
idstringrequiredworkflowstringuserstringdatestringrepeat_periodnumbermachinesobjectparallelismnumberfleetstringworkflow_namestringfleet_namestringcreated_datestring400Bad Request – validation error or malformed input
codestringmessagestring401Unauthorized – missing or expired token
codestringmessagestring500Internal Server Error
codestringmessagestring