APISIX-MCP

Official
by api7

delete_resource

Remove a specific resource by ID from the APISIX-MCP server. Specify the resource type (e.g., routes, services) and ID to delete it efficiently.

Instructions

Delete a resource by ID

Input Schema

NameRequiredDescriptionDefault
idYesresource id
typeYesresource type

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "id": { "description": "resource id", "type": "string" }, "type": { "description": "resource type", "enum": [ "routes", "services", "upstreams", "consumers", "ssls", "consumer_groups", "plugin_configs", "global_rules", "stream_routes", "protos", "plugin_configs" ], "type": "string" } }, "required": [ "id", "type" ], "type": "object" }
ID: s62o271u37