cURL
curl --request PATCH \ --url https://api.cekura.ai/schedules/v1/cron-jobs/{id}/ \ --header 'Content-Type: application/json' \ --header 'X-CEKURA-API-KEY: <api-key>' \ --data '{ "name": "<string>", "scenarios": [ 123 ], "tags": [ "<string>" ], "agent": 123, "crontab_expression": "<string>", "timezone": "Africa/Abidjan" }'
{ "id": 123, "agent": 123, "name": "<string>", "crontab_expression": "<string>", "timezone": "Africa/Abidjan", "scenario_ids": [ 123 ], "scenarios_data": [ { "id": 123, "agent": 123, "name": "<string>", "personality": 123, "personality_name": "<string>" } ], "tags": [ "<string>" ], "frequency": 50, "notify_on": "never", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" }
Partially update an existing scheduled job
API Key Authentication. It should be included in the header of each request.
A unique integer value identifying this cron job.
The response is of type object.
object