Rename / enable / pause / update trigger config
Requires ADMIN. action=enable requires a published version (else 422).
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”projectId
required
string
Project (tenant) identifier. Row-level tenant isolation is enforced on every query.
id
required
string
Automation (journey) identifier.
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
name
string
description
string | null
action
string
triggerEventName
string
entryConditionJson
object | null
exitConditionJson
object | null
reEntryMode
string
reEntryIntervalSeconds
integer | null
maxConcurrentPerUser
integer
Responses
Section titled “Responses”Updated automation.
Media typeapplication/json
object
automation
A journey row surfaced as an automation.
object
id
string
projectId
string
name
string
description
string | null
triggerEventName
string
maxConcurrentPerUser
integer
status
string
activeVersionId
string | null
entryConditionJson
string | null
reEntryMode
string
reEntryIntervalSeconds
integer | null
exitConditionJson
string | null
createdAt
string
updatedAt
string
key
additional properties
any
Missing/invalid path input (e.g. projectId) or invalid JSON body.
Media typeapplication/json
object
error
required
Human-readable error message.
string
message
string
Examplegenerated
{ "error": "example", "message": "example"}Not authenticated (401 via requireAuthenticated) or insufficient project role (403).
Media typeapplication/json
object
error
required
Human-readable error message.
string
message
string
Examplegenerated
{ "error": "example", "message": "example"}Resource not found (or cross-tenant — same 404).
Media typeapplication/json
object
error
required
Human-readable error message.
string
message
string
Examplegenerated
{ "error": "example", "message": "example"}Param validation failed, or enable without published version (error=cannot_enable_unpublished), or interval mode missing interval seconds.
Media typeapplication/json
object
error
required
Human-readable error message.
string
message
string
Examplegenerated
{ "error": "example", "message": "example"}