Skip to main content
PATCH
Enable or disable a trigger, or change its keep-awake time

Authorizations

Authorization
string
header
required

Your Styne API key: Authorization: Bearer $STYNE_API_KEY.

Path Parameters

id
string
required
trigger
string
required

Body

application/json

Change a trigger. Every field is optional.

enabled
boolean

Turn the trigger on or off.

keep_awake_seconds
integer

Seconds the sandbox is kept awake after an event.

Response

Success. The answer is described on https://docs.styne.ai/wake-triggers.