Skip to main content
PATCH
Change a trigger

Authorizations

Authorization
string
header
required

The session token of an admin of your company. Company API, partner and droplet installation tokens are refused.

Path Parameters

bot_id
string<uuid>
required

The bot's id.

id
string<uuid>
required

The trigger's id.

Body

application/json
trigger
object
required

The fields to change; only the ones sent change. config, when sent, replaces the kind's config whole. A trigger's kind never changes.

Response

The changed trigger.

trigger
object
required
status
integer
required

The HTTP status.

meta
object
required

Response metadata on every body. List endpoints add pagination.