mcp

Delete Mcp Gateway Sessions

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://apiclaw.biz (the document declares no server; this is the origin it was published from)
  • URL: https://apiclaw.biz/v1/mcp/sessions
  • Auth: API key in header x-litellm-api-key

Query parameters

session_id_prefixstring nullable
user_idstring nullable

Response

Successful Response

worker_pidinteger required
terminated_sessionsinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.