CAIN-42 CAIN Studio

API reference · schema

EgressRuleRequest

3 fields · used by 1 operations

Last reviewed 2026-10-03

Fields

FieldTypeMeaning
target requiredstringmax length 253
portsarray of integer
schemesarray of string

Smallest valid example

{
  "target": "target"
}

Used by 1 operation

POST/fabric/egress/rulesAdd a destination allow rule (enables egress enforcement)

JSON Schema

Show the raw definition
{
  "properties": {
    "target": {
      "type": "string",
      "maxLength": 253,
      "title": "Target"
    },
    "ports": {
      "items": {
        "type": "integer"
      },
      "type": "array",
      "title": "Ports"
    },
    "schemes": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Schemes"
    }
  },
  "type": "object",
  "required": [
    "target"
  ],
  "title": "EgressRuleRequest"
}

Try CAIN-42 on your own agents

Create a free account and every new account starts with a 7-day trial of the full platform. Or try the sandbox first, with no account at all.

Create a free account →  ·  Try the sandbox  ·  See the whole ecosystem