VoidnetVoid Docs
OpenapiV1 betaAdapterUsernameAppname

Terminate an MCP session

Terminate an MCP session by closing it with the publisher. Requires a valid `Mcp-Session-Id` from a prior `initialize` call. Only the `mcp` adapter supports this.

DELETE/v1-beta/{adapter}/{username}/{appname}

Terminate an MCP session by closing it with the publisher. Requires a valid Mcp-Session-Id from a prior initialize call. Only the mcp adapter supports this.

Path Parameters

adapter*string

Protocol adapter type (mcp)

username*string

Publisher username

appname*string

App name

Header Parameters

Authorization*string

Bearer credential — API key (vnb-sk-* / vai-sk-*) or JWT access token

Mcp-Session-Id*string

Session ID to terminate

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/v1-beta/mcp/string/string" \  -H "Authorization: string" \  -H "Mcp-Session-Id: string"
"string"
{
  "error": {
    "code": "string",
    "message": "string",
    "status": 0
  }
}
{
  "error": {
    "code": "string",
    "message": "string",
    "status": 0
  }
}
{
  "error": {
    "code": "string",
    "message": "string",
    "status": 0
  }
}
{
  "error": {
    "code": "string",
    "message": "string",
    "status": 0
  }
}
{
  "error": {
    "code": "string",
    "message": "string",
    "status": 0
  }
}
{
  "error": {
    "code": "string",
    "message": "string",
    "status": 0
  }
}