Skip to content

MCP session teardown (no longer applicable)

DELETE
/mcp-bot
curl --request DELETE \
--url https://example.com/api/mcp-bot \
--cookie sb-access-token=<sb-access-token>

A 2025-era session teardown. Stateless serving holds no session, so there is nothing to tear down and the request is answered 405. An unauthenticated caller still receives the 401 challenge.

Not authenticated

Media type application/json
object
error
required

Human-readable error message

string
code

Stable machine-readable error code for client branching

string
fieldErrors

First validation message per field path

object
key
additional properties
string
issues

Structured validation issues (Zod)

Array<object>
object
path
required
string
message
required
string
retryAfter

Seconds until rate limit resets (429 responses)

number
reconnect

True if re-linking GitHub may fix the issue

boolean

No session to delete.