MCP Gateway
ApiPlayground

Delete playground session

Delete a playground chat session and release its resources.

DELETE
/api/v1/playground/sessions/{session_id}

Authorization

User API Key
AuthorizationBearer <token>

User API key (mgw_usr_live_* or mgw_usr_test_*)

In: header

Path Parameters

session_id*string
access_token?|

Response Body

application/json

curl -X DELETE "https://loading/api/v1/playground/sessions/string"
Empty
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}