Sandboxes
Put sandboxes network
Update the network configuration for a running sandbox. Replaces the current egress rules with the provided configuration. Omitting both fields clears all egress rules.
PUT
cURL
Documentation Index
Fetch the complete documentation index at: https://e2b-mintlify-d2daa4bf.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Path Parameters
Body
application/json
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.
List of denied CIDR blocks or IP addresses for egress traffic. Domain names are not supported for deny rules.
Response
Successfully updated the sandbox network configuration
cURL