---
id: session-remove
title: "Remove Session"
description: "Terminate a specific session."
sidebar_label: "Remove Session"
hide_title: true
hide_table_of_contents: true
api: eJzVV91v2zgM/1cIDRg2w3G6dk9563U5rNjXoeluD11xUCzG1iJLniinywX+3w+U7CRtt9te9+QPUeSPFPkjtRNBViRmN4KQSDtL4jYXCqn0ug3aWTET1+gbbWVAkEAtlnqlSxjEC5EL16KXLHupxGzUc4WN26DIRSu9bDCgZys7oVljK0MtcmFlg4cdl0o8slwjaIU26JVGD24FocZj0x6/dtqjErPgO8wFlTU2Usx2ImzbqDt4bSvR97csTK2zhMTrpycv+XHf3iJpBh/BK6CuLJFo1RmzLUSfi5cnLx7vYpQMBCnAAIigI/Qgu1Az+jKGhwGXzga0gZXItjXDyvQLsabdY/xu+QXLwGH0HOagE/oGiWSFjx19GMFXGKQ2qAC9dx6GfYXo+1wEHQxvnfPSu0Fj3/fRz7Pv+0noN+ihswo9BedUPJHB+xyWHYdg1RESBBf9d17/i6DDb+X9d3Ijep+yHxV4JNf5EuFOElgXYOU6q34bH/tcNBhqxwWr0GBIlRpqMRNT2erpyAbT3b46e5GLdPypku/DeOtKaYb0ELnovBEzUYfQzqZTw2u1ozA7Ozk5EVyLhGXnddhGTX+g9OjPOzZ/c9vnO3Hh3Frj8Z9rt0a7/3GkYcEBTTE73rUPm2z1G9yKPDFPGUUO3PN+/ubDP4v5YnH54f2j0J7fK1/oSNuKOXBgiaQr8sKxB3vL7L0YOIm/l1HoV60klRDY72jjKAI/cO5rh3578C1u/VVzURhaSYQKJIGEqA329J0yStuVi/aHzHqPawfnf12KXHBiJBNnxUlx8shwFI3M8AmXV9cXIK3i14Ur1xhgiaQVElzNF9eskfmj9W6jFfOLNJOgGwT+dEDBo2y0rXLQNqCXZdAbhNIZI5cuNaM86mcmDwgKaR1cC6vOlrwojQ7b4rP9bJ88eQIXziNcY1lbZ1ylkXhhAln2d7S2GK2BY+5L6LPsswWYQPTK4Aa9rJAgy8ZlWDl/AJ6DcXcTIwPacptDrat68rWLMAafGK3slD7yrkgm3uB26aRXUaRxHSHgBm0gkB4heGmp0SGgSvhii5QNjmEunbUYvY6QCGVjkOgQOWeL0eErxnvNgV7oiqPEuWEVXLim6eyYM2MY0smNkYiuj79AxxaoksmDMm1HWM+wqIp8X0xIQS6NprpBG3K4vJhDKa3SiucO/FbW0lb4vABIxt7G865lOGjoWpaldO7rIWbTFK+VNGYpy3WMWC2tMmO09pgPMRgTkKHPN+i3oWboc0N48PVBGT2FcXZ4J62skL3IMpjAgmkKvzcORJwj+IiJj3x0MMuunGuizEfe+0DthUcZYgE0TunVNr6yMLcf70wMdjIaRxiuJu9cQ0cGXg1FcZG2UFR8rr50xJqBSo/ILGdXuupSUVEODQPh9fWP0rIYDSy2FLCB1yhNqOEpvMPgdZnsXPE7bqKhJFYnsbLGck1R6X6wlAa0JV3VIeFPZfva3cFlgHNj4JPza4JrV2Go0bPAi+K4FtOREzSotDwUWDziLHtAL/lQhwxBySCzrPhsT4sHCY6WOh70JGRZy9RHIWbuUivtcWCZLHtYfkc0cFyBya+z4ij/smzkP6aVlbY4qbzUFveHnGUph4/OeWA9Tp17Bxez+0+eD5jrVJwZKOdZLfaYSBo85sbEV67sONPGnSIXRpdoKY4jQ3c5b2VZI5xGpr/X7u/u7goZVwvnq+mwlaZvLy/m7xfzyWlxUtShMbGhtI5CI+2R4nRzGOvpYRvZHQasn15MhiYZ8FuYtkZqy200Qt0Nw84Nd9A41wyXn1zMDteR21zw1MJiu91SEn70pu/5d+q0s5vbXGyk13LJzZBnIk38rsRsJQ3h/2B/djVcXZ7DT2853/VjnAAsd/yNNB1/iVyscXvvTtXf9rmoUSr0EWJaPy9LbMPRzkezKs9Y+xnx1fzt/Hou+v4/0y7r2w==
sidebar_class_name: "delete api-method"
info_path: docs/api/neko-api
custom_edit_url: null
---

import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import ParamsDetails from "@theme/ParamsDetails";
import RequestSchema from "@theme/RequestSchema";
import StatusCodes from "@theme/StatusCodes";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
import Heading from "@theme/Heading";

<Heading
  as={"h1"}
  className={"openapi__heading"}
  children={"Remove Session"}
>
</Heading>

<MethodEndpoint
  method={"delete"}
  path={"/api/sessions/{sessionId}"}
  context={"endpoint"}
>
  
</MethodEndpoint>



Terminate a specific session.

<Heading
  id={"request"}
  as={"h2"}
  className={"openapi-tabs__heading"}
  children={"Request"}
>
</Heading>

<ParamsDetails
  parameters={[{"in":"path","name":"sessionId","description":"The identifier of the session.","required":true,"schema":{"type":"string"}}]}
>
  
</ParamsDetails>

<RequestSchema
  title={"Body"}
  body={undefined}
>
  
</RequestSchema>

<StatusCodes
  id={undefined}
  label={undefined}
  responses={{"204":{"description":"Session removed successfully."},"401":{"description":"The request requires user authentication.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"Detailed error message."}},"title":"ErrorMessage"}}}},"403":{"description":"The server understood the request, but refuses to authorize it.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"Detailed error message."}},"title":"ErrorMessage"}}}},"404":{"description":"The specified resource was not found.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"Detailed error message."}},"title":"ErrorMessage"}}}}}}
>
  
</StatusCodes>


      