v51

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-035895111.8 KB
sandboxes

Update sandbox network

Update the network configuration for a running sandbox. Replaces the current egress rules with the provided configuration. Omitting field clears it.

put/sandboxes/{sandboxID}/network

Path parameters

sandboxIDstring required

Request body

allowOutstring[]

List of allowed destinations for egress traffic. Each entry can be a CIDR block (e.g. "8.8.8.8/32"), a bare IP address (e.g. "8.8.8.8"), or a domain name (e.g. "example.com", "*.example.com"). Allowed entries always take precedence over denied entries.

denyOutstring[]

List of denied CIDR blocks or IP addresses for egress traffic. Domain names are not supported for deny rules.

rulesobject

Per-domain transform rules. Replaces all existing rules when provided.

allow_internet_accessboolean

Allow sandbox to access the internet. When set to false, it behaves the same as specifying denyOut to 0.0.0.0/0 in the network config.

Response

Successfully updated the sandbox network configuration