Skip to main content
DELETE
/
mcp
Terminate an MCP session
curl --request DELETE \
  --url https://app.myhero.so/mcp \
  --header 'Authorization: Bearer <token>' \
  --header 'mcp-session-id: <mcp-session-id>'
{}

Documentation Index

Fetch the complete documentation index at: https://developers.myhero.so/llms.txt

Use this file to discover all available pages before exploring further.

Terminates the active MCP session identified by the required mcp-session-id header, freeing server-side resources. Returns an empty JSON object on success.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

mcp-session-id
string
required

Response

Session terminated.

The response is of type object.