Skip to content

yolo_put

PUT
/v1/yolo
curl --request PUT \
--url https://example.com/v1/yolo \
--header 'Content-Type: application/json' \
--data '{ "mode": "off", "for": "example" }'

Set YOLO mode, optionally for a duration after which it turns off. Applies to requests created afterwards; matching rules still win and requests that need a human answer (questions, fields, feedback policies, several approve options) stay pending. Emits yolo.changed.

Media typeapplication/json

PUT /v1/yolo body.

object
mode
required
string
Allowed values: off on hard
for

Optional duration (15m, 1h); absent = until turned off. Not valid with off.

string | null
Media typeapplication/json

GET/PUT /v1/yolo response and the yolo.changed event payload.

object
mode
required
string
Allowed values: off on hard
until

Unix milliseconds when the mode turns itself off; null = until turned off.

integer | null format: int64
Example
{
"mode": "off"
}

Invalid mode or duration

Remote device without decide scope