Sandboxes

POST /v1/sandboxes/{id}/restart

Changed on

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

Response

Sandbox container restarted in place

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