# NetworkPolicyMode


[API catalog](/reference/api/) · [Docker Sandboxes overview](/reference/api/sandboxes/latest/) · [Product manual](https://docs.docker.com/ai/sandboxes-api/) · [OpenAPI specification](/reference/api/sandboxes/api.yaml)

API version: v1


> This API is experimental. Features, interfaces,
> and behavior may change.




Schema constraints and annotations:

```json
{
  "description": "NetworkPolicyMode is the top-level egress disposition.\n\nValues:\nunspecified: unspecified is invalid in policy documents and in conforming responses.\nallowAll: allowAll allows egress unless denied by a narrower rule.\ndenyAll: denyAll denies egress unless allowed by a narrower rule.",
  "enum": [
    "unspecified",
    "allowAll",
    "denyAll"
  ],
  "title": "NetworkPolicyMode",
  "type": "string"
}
```



