Context Interface Capability Controls

Update Interface-Source Capability Controls

Changed on

Pre-release Endpoint This endpoint is currently in beta and is subject to change.

Partially update the capability controls configured for a context interface-source mapping. Omitted deny keys preserve their existing value, an empty array clears a capability, and a non-empty array replaces.

patch/v1/context-interfaces/{interfaceId}/context-source-mappings/{mappingId}/capability-controls

Request

  • Base URL
    https://global.api.konghq.com
  • Auth
    • HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer

Path parameters

interfaceId, string uuid required

The ID of the Context Interface.

mappingId, string uuid required

The ID of the Context Interface Source Mapping.

Request body

union required

The capability controls to merge into the existing configuration for a mapped context source. Omitted deny keys preserve their current value, an empty array clears a capability, and a non-empty array replaces.

PatchAPICapabilityControls required

Partial capability controls for a mapping to an API MCP resource.

OR
PatchMCPCapabilityControls required

Partial capability controls for a mapping to an MCP server MCP resource.

Example request

{
  "type": "api",
  "deny": {
    "operations": [
      {
        "path": "/library/{id}/books",
        "methods": [
          "GET"
        ]
      }
    ]
  }
}

Response

A response to updating the capability controls for a Context Interface-Source mapping.

union required

The capabilities of a mapped MCP resource that the MCP server does not expose.

APICapabilityControls required

Capability controls for a mapping to an API MCP resource.

OR
MCPCapabilityControls required

Capability controls for a mapping to an MCP server MCP resource.

Example response

{
  "type": "api",
  "deny": {
    "operations": [
      {
        "path": "/library/{id}/books",
        "methods": [
          "GET"
        ]
      }
    ]
  }
}

Changes

    • breaking

      added to the invalid_parameters/items response property oneOf list for the response status

    • warning

      added the new key_invalid enum value to the invalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/rule response property for the response status

    • warning

      added the new unique enum value to the invalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/rule response property for the response status