{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cockroach-labs/json-schema/cockroach-labs-set-egress-traffic-policy-body-schema.json",
  "title": "SetEgressTrafficPolicyRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cockroach-labs-egress-rules-api-openapi.yml#/components/schemas/SetEgressTrafficPolicyBody",
  "type": "object",
  "properties": {
    "allow_all": {
      "description": "allow_all, if true results in unrestricted egress traffic. If false, egress\ntraffic is set to default-deny and is managed via the Egress Rule\nManagement API.",
      "type": "boolean"
    },
    "idempotency_key": {
      "description": "idempotency_key uniquely identifies this request. If not set, it will be\nset by the server.",
      "type": "string"
    }
  },
  "required": [
    "allow_all"
  ]
}