Sandboxes

Grow a Firecracker sandbox's root disk. Offline resize — the VM reboots (filesystem/data persist) rather than resizing fully live.

Changed on
post/v1/sandboxes/{id}/resize

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Path parameters

idstring required

Request body

disk_size_mbinteger required

New root disk size in MB. Grow-only; must exceed the current size.

Response

Resized

Example response

{
  "sandbox": {
    "egress_policy": {
      "rules": [
        {
          "cidr": "1.1.1.0/24",
          "host": "api.example.com"
        }
      ]
    }
  }
}

Changes

    • info

      added the required property sandbox/egress_policy to the response with the status

    • info

      added the required property sandbox/preview_access to the response with the status

    • info

      added the required property sandbox/preview_allowed_cidrs to the response with the status