delete_resource
Remove a specific resource by ID and type from the APISIX-MCP server, supporting routes, services, upstreams, and other configurations.
Instructions
Delete a resource by ID
Input Schema
Name | Required | Description | Default |
---|---|---|---|
id | Yes | resource id | |
type | Yes | resource 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"
}