Skip to main content
DELETE
/
api
/
mcp-servers
/
{mcpServerId}
/
tool-approvals
/
{toolName}
Revoke tool approval
curl --request DELETE \
  --url http://localhost:8080/api/mcp-servers/{mcpServerId}/tool-approvals/{toolName} \
  --header 'X-API-KEY: <api-key>' \
  --header 'X-API-SECRET: <api-key>'
{
  "message": "Tool approval revoked successfully",
  "status": "success",
  "error": null,
  "data": {
    "server_id": "mcp_8c180796-e6d7-4343-88b5-5df0846fef69",
    "tool_name": "file_read",
    "deleted": true
  }
}

Authorizations

X-API-KEY
string
header
required

API Key for MCP server and external service authentication

X-API-SECRET
string
header
required

API Secret for MCP server and external service authentication

Path Parameters

mcpServerId
string
required

MCP server ID

Example:

"mcp_8c180796-e6d7-4343-88b5-5df0846fef69"

toolName
string
required

Tool name to revoke approval

Example:

"file_read"

Response

Tool approval revoked successfully

message
string
status
string
error
string | null
data
object