Skip to main content
PATCH
Enable or disable an AI trigger

Authorizations

hookie_session
string
cookie
required

The console's sealed session cookie, set by WorkOS AuthKit. Mutating requests also require the X-Requested-With CSRF header.

Path Parameters

project_id
string
required
trigger_id
string
required

Body

application/json
enabled
boolean
required

Response

Updated.

ok
enum<boolean>
required
Available options:
true