mcp_management

Delete Mcp Gateway Sessions

Changed on

Force-close live stateful MCP gateway sessions on this proxy worker, selected by session id prefix and/or by the LiteLLM user that opened them (proxy admin only).

delete/v1/mcp/sessions

Request

  • Base URL: https://api.sea-lion.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.sea-lion.ai/v1/mcp/sessions
  • Auth: API key in header x-litellm-api-key

Query parameters

session_id_prefixstring nullable
user_idstring nullable

Response

Successful Response

terminated_sessionsinteger required
worker_pidinteger required

Changes