v1
latestOpenAPI 3.0.32026-07-22194221292.5 KBfunctions
Delete MCP server
Permanently deletes an MCP server function and all its deployment history. Any agents using this function's tools will no longer be able to invoke them.
delete/functions/{functionName}
Response
successful operation
Example response
{
"events": [
{
"message": "Deployment successful",
"revision": "rev-abc123",
"status": "DEPLOYED",
"time": "2025-01-15T10:30:00Z",
"type": "deployment"
}
],
"metadata": {
"displayName": "My Resource",
"externalId": "my-session-123",
"name": "my-resource"
},
"spec": {
"enabled": true,
"region": "us-pdx-1",
"revision": {
"active": "rev-abc123",
"canaryPercent": 10,
"traffic": 100
},
"runtime": {
"envs": [
{
"name": "MY_ENV_VAR",
"secret": true,
"value": "my-value"
}
],
"generation": "mk3",
"maxScale": 10,
"memory": 2048,
"ports": [
{
"name": "http",
"protocol": "HTTP",
"target": 8080
}
],
"transport": "http-stream"
},
"triggers": [
{
"configuration": {
"authenticationType": "blaxel",
"callbackUrl": "https://myapp.com/webhook",
"path": "/invoke",
"retry": 3,
"schedule": "0 * * * *",
"timeout": 300
},
"enabled": true,
"id": "trigger-1",
"type": "http"
}
]
}
}