cURL
curl --request PUT \ --url https://operator.io/api/automations/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "prompt": "<string>", "cronExpression": "<string>", "timezone": "<string>", "enabled": true } '
{ "automation": { "id": "<string>", "name": "<string>", "prompt": "<string>", "cronExpression": "<string>", "timezone": "<string>", "enabled": true, "createdAt": "2023-11-07T05:31:56Z" } }
API key (ck_live_...). Create one in Settings > API Keys.
ck_live_...
Updated.
Show child attributes