Skip to main content
DELETE
Error

Authorizations

Authorization
string
header
required

Path Parameters

gateway_id
string<uuid>
required

Gateway id

id
string<uuid>
required

Policy id

Response

OK

consumer_ids
string[]
created_at
string
description
string
enabled
boolean
gateway_id
string
global
boolean
id
string
mcp_scope
object

MCPScope is echoed as stored: absent when the policy is consumer-wide, {} when a registry delete pruned every destination.

mcp_wide
boolean

MCPWide marks a policy that runs on every MCP consumer of the gateway and on the MCP Store, narrowed by its mcp_scope. It is never true together with Global, and an MCP-wide policy has no consumer_ids.

mode
string
name
string
parallel
boolean
priority
integer
settings
object
slug
string
stages
string[]
status
enum<string>

Status is "active" (enabled and running), "paused" (disabled) or "error" (enabled but the gateway cannot run it; see status_message).

Available options:
active,
paused,
error
status_message
string

StatusMessage is the reason the gateway cannot run the policy. It is present only when status is "error".

updated_at
string
warnings
string[]

Warnings are non-blocking notes about the write that just succeeded, such as a consumer that already runs the same plugin without scope.