Skip to main content
PATCH
cURL

Authorizations

Authorization
string
header
required

API Key authentication for programmatic access. Include your API key in the Authorization header as: Bearer your_api_key_here

Path Parameters

agentId
string<uuid>
required

Unique identifier of the agent

triggerId
string<uuid>
required

Unique identifier of the trigger

Body

application/json

Request body for updating whether a trigger creates alerts

eventMode
enum<string>
required

Run the agent directly or create an alert before running it

Available options:
direct,
alert_source

Response

Successful response

Response confirming trigger event mode update

success
boolean
required

Whether the event mode update was successful

eventMode
enum<string>
required

Current event mode of the trigger after update

Available options:
direct,
alert_source