Cockroach Labs · Schema

EditEgressRuleRequest

Cluster ManagementCloudDatabaseDistributed SQLInfrastructurePostgreSQL CompatibleSQL

Properties

Name Type Description
description string description is text that serves to document the rules purpose.
destination string destination is a CIDR range or fully-qualified domain name to which outgoing traffic should be allowed. This field is required.
idempotency_key string idempotency_key uniquely identifies this request. If not set, it will be set by the server.
paths array Deprecated: This field is ignored and will be removed in the next version. paths are the allowed URL paths. If empty, all paths are allowed. Only valid if Type="FQDN".
ports array ports are the allowed ports for TCP protocol. If empty, all ports are allowed.
type string type is the destination type of this rule. Example values are FQDN or CIDR. This field is required.
View JSON Schema on GitHub

JSON Schema

cockroach-labs-edit-egress-rule-body-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cockroach-labs/json-schema/cockroach-labs-edit-egress-rule-body-schema.json",
  "title": "EditEgressRuleRequest",
  "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/EditEgressRuleBody",
  "type": "object",
  "properties": {
    "description": {
      "description": "description is text that serves to document the rules purpose.",
      "type": "string"
    },
    "destination": {
      "description": "destination is a CIDR range or fully-qualified domain name to which\noutgoing traffic should be allowed. This field is required.",
      "type": "string"
    },
    "idempotency_key": {
      "description": "idempotency_key uniquely identifies this request. If not set, it will be\nset by the server.",
      "type": "string"
    },
    "paths": {
      "description": "Deprecated: This field is ignored and will be removed in the next version.\npaths are the allowed URL paths. If empty, all paths are allowed. Only\nvalid if Type=\"FQDN\".",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "ports": {
      "description": "ports are the allowed ports for TCP protocol. If empty, all ports are\nallowed.",
      "type": "array",
      "items": {
        "format": "int32",
        "type": "integer"
      }
    },
    "type": {
      "description": "type is the destination type of this rule. Example values are\nFQDN or CIDR. This field is required.",
      "type": "string"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/cockroach-labs-edit-egress-rule-body"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.