Clear a policy's MCP-wide placement
Demotes an MCP-wide policy to a draft: it holds no consumer links, so it runs nowhere until a consumer is attached or it is promoted again. Clears only mcp_wide: a policy that is not MCP-wide is returned unchanged with 200, a global one included.
DELETE
/
v1
/
gateways
/
{gateway_id}
/
policies
/
{id}
/
mcp-wide
Error
A valid request URL is required to generate request examples{
"consumer_ids": [
"<string>"
],
"created_at": "<string>",
"description": "<string>",
"enabled": true,
"gateway_id": "<string>",
"global": true,
"id": "<string>",
"mcp_scope": {
"except_groups": [
"<string>"
],
"groups": [
"<string>"
],
"registry_ids": [
"<string>"
],
"tools": [
{
"registry_id": "<string>",
"tool": "<string>"
}
]
},
"mcp_wide": true,
"mode": "<string>",
"name": "<string>",
"parallel": true,
"priority": 123,
"settings": {},
"slug": "<string>",
"stages": [
"<string>"
],
"status": "active",
"status_message": "<string>",
"updated_at": "<string>",
"warnings": [
"<string>"
]
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}Response
OK
⌘I
Error
A valid request URL is required to generate request examples{
"consumer_ids": [
"<string>"
],
"created_at": "<string>",
"description": "<string>",
"enabled": true,
"gateway_id": "<string>",
"global": true,
"id": "<string>",
"mcp_scope": {
"except_groups": [
"<string>"
],
"groups": [
"<string>"
],
"registry_ids": [
"<string>"
],
"tools": [
{
"registry_id": "<string>",
"tool": "<string>"
}
]
},
"mcp_wide": true,
"mode": "<string>",
"name": "<string>",
"parallel": true,
"priority": 123,
"settings": {},
"slug": "<string>",
"stages": [
"<string>"
],
"status": "active",
"status_message": "<string>",
"updated_at": "<string>",
"warnings": [
"<string>"
]
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}