v9

latestOpenAPI 3.1.02026-08-08435208464.3 KB
agent-scheduled-tasks

Update Scheduled Task

Update a scheduled task definition's metadata.

This allows updating display_name, schedule_config, timezone, and email_results. If schedule_config is changed, the next run will be rescheduled.

patch/api/agent-scheduled-tasks/{definition_id}

Path parameters

definition_idstring required

Query parameters

user_idstring
org_idstring

Request body

display_namestring nullable
schedule_typestring nullable
schedule_configobject nullable
configobject nullable
timezonestring nullable
email_resultsboolean nullable

Response

Successful Response

{"stackTrail":"paths:/api/agent-scheduled-tasks/{definition_id}:patch:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}