---
title: "Update sandbox network policy"
method: PUT
path: "/api/sandbox/{id}/network"
tags: ["Sandboxes"]
---

# Update sandbox network policy

`PUT /api/sandbox/{id}/network`

## Path parameters

- `id` string, uuid, required

## Request body

- SandboxNetworkPolicyPatch — Partial network policy update. Omitted fields keep their current values.
  - `allowInternetAccess` boolean
  - `allowOut` string[] — Outbound allow rules (IPv4 address, CIDR range, or domain).
  - `denyOut` string[] — Outbound deny rules (IPv4 address or CIDR range).

## Response `200`

Updated effective network policy

- SandboxNetworkUpdateResponse
  - `network` SandboxNetworkPolicy, required — Effective outbound network policy for a sandbox.
    - `allowInternetAccess` boolean, required — Whether general outbound internet access is allowed.
    - `allowOut` string[], required — Outbound allow rules. Each entry is an IPv4 address, CIDR range, or domain.
    - `denyOut` string[], required — Outbound deny rules. Each entry is an IPv4 address or CIDR range.

---

[API](https://skmtc.net/hyperbrowser/apis/hyperbrowser-api.md) · [All operations](https://skmtc.net/hyperbrowser/apis/hyperbrowser-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hyperbrowser/hyperbrowser-api/versions/69aa004ce41b/schema)
