Replace the automation's current trigger definition. Only the owner can change the event type or configuration. Owners and org admins can send the current event type and configuration with a new enabled value to enable or disable the trigger.
Security
ApiKey(Required scopes: automations.update)
The event that starts a run. Use clock.updated for a trigger that runs on a schedule.
Enum:"recording.created""recording.imported""session.created""event.created""event.updated""clock.updated"
- Productionhttps://api.foxglove.dev/v1/automations/{automationId}/trigger
{ "eventType": "recording.created", "enabled": true, "configuration": { "schedule": { … }, "eventTypeId": "string" } }
The current trigger
Enum:"recording.created""recording.imported""session.created""device.created""device.updated""event.created""event.updated""clock.updated"
Response
{ "id": "string", "automationId": "string", "eventType": "recording.created", "enabled": true, "configurationVersion": 1, "configuration": { "schedule": { … }, "eventTypeId": "string" }, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "deletedAt": "2019-08-24T14:15:22Z" }