Skip to main content
PATCH
Set sleep when idle
Sets how many idle minutes pass before the computer goes to sleep: no screen, API or network activity for that long. Send a whole number of minutes, or 0 for never. See Sleep when idle. A sleeping computer keeps its memory and wakes on its next action, or with Resume. Paid plans only; the free plan answers 403.

Authorizations

Authorization
string
header
required

API key authentication. Get your key at orgo.ai/workspaces

Path Parameters

id
string
required

Computer ID. Accepts the computer's UUID or its instance_id.

Body

application/json
auto_stop_minutes
integer
required

Whole minutes, or 0 for never. The dashboard offers 15, 30, 60, 120 and 240.

Required range: x >= 0

Response

Saved.

auto_stop_minutes
integer
auto_suspend_after
string

The same value as a duration, such as 60m, or 0s for never.