cURL
curl --request PUT \ --url http://localhost:3000/api/v1/jobs/{id} \ --header 'Content-Type: application/json' \ --cookie nut-session= \ --data ' { "name": "<string>", "description": "<string>", "schedule": "<string>", "task": {}, "enabled": true } '
{ "success": true, "data": { "job": { "id": "<string>", "name": "<string>", "schedule": "<string>", "description": "<string>", "task": {}, "enabled": true, "lastRun": "2023-11-07T05:31:56Z", "nextRun": "2023-11-07T05:31:56Z", "createdAt": "2023-11-07T05:31:56Z" } } }
Update a scheduled job
Session cookie authentication
Job ID
Job updated
Show child attributes
Job name
Cron expression
Task configuration