# Change size live where possible `POST /v1/sandboxes/{sandbox}/resize` **In this build:** Works on the simulator or a real VM. **Scope:** `sandbox.update` **CLI:** `harebox resize` ## Request: `ResizeRequest` | Field | Type | Notes | |---|---|---| | `size` (required) | `Size` | | | `allow_restart` | `boolean` | Allow a restart when the change cannot be applied live. | ## Response: 202 `Operation` | Field | Type | Notes | |---|---|---| | `id` (required) | `string` | | | `kind` (required) | `string` | | | `status` (required) | `string` | One of: `pending`, `running`, `succeeded`, `failed`, `cancelled` | | `target` | `string or null` | | | `percent` | `number or null` | | | `error` | `object` | | | `created_at` | `string` | | | `updated_at` | `string` | | Errors follow [one format](../errors.html).