Triggers
Update Trigger
Changed onUpdate a trigger.
**Allowed updates:**
- `schedule_config`: Modify trigger schedule
- `description`: Update description
- `status`: Change status (prefer using pause/resume endpoints)
**Not allowed:**
- `action_type`: Must delete and recreate
- `trigger_type`: Must delete and recreate
- `action_config`: Must delete and recreate
patch/v1/triggers/{trigger_id}
Request
- Base URL: https://api.mixpeek.com
- URL: https://api.mixpeek.com/v1/triggers/{trigger_id}
- Auth: HTTP bearer and API key in header X-Namespace
Path parameters
trigger_idstring required
Trigger ID
Request body
Response
Successful Response
Changes
- warning
removed the optional property
from the response with the status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the optional property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- warning
- warning
added the new
alert_evaluationenum value to theresponse property for the response status
- warning