cURL
curl --request PATCH \ --url http://localhost:63372/api/captain/agents/{id}/cron/{jobId} \ --header 'Content-Type: application/json' \ --cookie captain_session= \ --data ' { "name": "<string>", "message": "<string>", "schedule": { "every": "24h", "cron": "0 0 9 * * 1-5 *", "at": "2025-12-31T09:00:00Z" }, "delivery_connector": "<string>", "delivery_channel": "<string>" } '
{ "ok": true }
Partially update a cron job. Only provided fields are modified.
HMAC-signed session cookie returned by /api/captain/auth/login. Valid for 7 days. Invalidated when password changes.
Agent ID
Cron job ID
Exactly one of 'every', 'cron', or 'at' must be set.
Show child attributes
Success
true