UpdateEnforcementPolicyRequest

At least one field must be provided. When `rules` is present it replaces the entire ordered rule set.

CompanyArtificial IntelligenceGovernancePlatformEnterprise

Properties

Name Type Description
mcp_servers string Default action for discovered MCP servers when no rule matches
skills string Default action for discovered skills when no rule matches
capability_names object Maps identity hashes to human-readable display names used in rules
rules array Full ordered set of rules to store (replaces existing rules)
View JSON Schema on GitHub

JSON Schema

webrix-update-enforcement-policy-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/webrix/main/json-schema/webrix-update-enforcement-policy-request-schema.json",
  "title": "UpdateEnforcementPolicyRequest",
  "description": "At least one field must be provided. When `rules` is present it replaces the entire ordered rule set.\n",
  "x-generated": "2026-10-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/webrix-api-openapi.json#/components/schemas/UpdateEnforcementPolicyRequest",
  "type": "object",
  "properties": {
    "mcp_servers": {
      "type": "string",
      "enum": [
        "allow",
        "warn",
        "block"
      ],
      "description": "Default action for discovered MCP servers when no rule matches"
    },
    "skills": {
      "type": "string",
      "enum": [
        "allow",
        "warn",
        "block"
      ],
      "description": "Default action for discovered skills when no rule matches"
    },
    "capability_names": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "Maps identity hashes to human-readable display names used in rules"
    },
    "rules": {
      "type": "array",
      "description": "Full ordered set of rules to store (replaces existing rules)",
      "items": {
        "type": "object",
        "required": [
          "name",
          "pattern",
          "match_field",
          "target",
          "action"
        ],
        "properties": {
          "id": {
            "type": "string",
            "description": "Existing rule id; omit to create a new rule"
          },
          "name": {
            "type": "string"
          },
          "pattern": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "match_field": {
            "type": "string",
            "enum": [
              "hash",
              "all_unmanaged"
            ]
          },
          "target": {
            "type": "string",
            "enum": [
              "mcp_server",
              "skill",
              "all"
            ]
          },
          "action": {
            "type": "string",
            "enum": [
              "allow",
              "warn",
              "block"
            ]
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "status": {
            "type": "string",
            "enum": [
              "draft",
              "active"
            ],
            "default": "active"
          },
          "scope_type": {
            "type": "string",
            "enum": [
              "all",
              "group",
              "user",
              "device"
            ]
          },
          "scope_id": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              {
                "type": "null"
              }
            ]
          },
          "scope_name": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              {
                "type": "null"
              }
            ]
          },
          "agents": {
            "oneOf": [
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              {
                "type": "null"
              }
            ],
            "description": "AI agents (source applications) the rule is limited to. Omit or send null to apply the rule to every agent."
          }
        }
      }
    }
  }
}

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/webrix-update-enforcement-policy-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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