Skip to main content
POST
Stop workspace
Stop the workspace while keeping its saved state and configuration. Calling this again on a stopped workspace has no effect. RAM-backed files do not survive a stop/start cycle. Save them to persistent storage first.
See error examples and recovery steps. The complete OpenAPI contract includes every response schema.

Authorizations

Authorization
string
header
required

The server's token (MIRAGE_AUTH_TOKEN) or a JWT. A daemon in the default local mode with no token accepts requests without one.

Path Parameters

workspace_id
string
required

Workspace ID.

Response

200 - application/json

OK

id
string
required
stopped_at
string<date-time>
required

When the workspace stopped.