Scheduled Tasks
Toggle task enabled/disabled
Changed onFlips the enabled state of a scheduled task. Requires admin role.
patch/api/scheduled-tasks/{id}/toggle
Request
- Base URLhttps://localhost:1852
- URLhttps://localhost:1852/api/scheduled-tasks/{id}/toggle
- AuthHTTP bearer
Path parameters
idinteger required
Numeric resource ID.
Response
Task toggled. Returns updated task.
Example response
{
"cron_expression": "0 3 * * *"
}Changes
- warning
added the new
containerenum value to theresponse property for the response status
- warning
- info
removed the
ADMIRAL_REQUIREDenum value from theresponse property for the response status - info
removed the
ADMIRAL_REQUIREDenum value from theresponse property for the response status - info
removed the
ADMIRAL_REQUIREDenum value from theresponse property for the response status - info
removed the
ADMIRAL_REQUIREDenum value from theresponse property for the response status
- info