API reference
Stop a sandbox
View MarkdownPOST/sandboxes/{id}/stop
Parameters
id· path- Sandbox ID
workspace_id· query- Optional workspace ID; must match stored ownership
Responses
202 · Accepted
| Field | Type | Description |
|---|---|---|
nameRequired | string | |
stopped_at | string |
400 · Bad Request
| Field | Type | Description |
|---|---|---|
code | integer | |
error | string | |
message | string |
401 · Unauthorized
| Field | Type | Description |
|---|---|---|
code | integer | |
error | string | |
message | string |
403 · Forbidden
| Field | Type | Description |
|---|---|---|
code | integer | |
error | string | |
message | string |
404 · Not Found
| Field | Type | Description |
|---|---|---|
code | integer | |
error | string | |
message | string |
Operation specification
The downloadable Markdown includes the published OpenAPI schema. Use the API origin provided by your compute account.