---
id: logout
title: "User Logout"
description: "Terminate the current user session."
sidebar_label: "User Logout"
hide_title: true
hide_table_of_contents: true
api: eJyNVt9v2kgQ/ldGW6m6s4yh6T3xlqOcGjVNT4FeH5LoNNiDvWW96+6sSRHifz/N2gZCr1J5wfbOznzzzc+9Cliymj6ovPWebBgxMWtn1VOqCuLc6ybI61QtydfaYiAIFUEvDi2Th/5OplLlGvIoN24KNVXGla4NKlWeuHGWidV0r64mE/l7qf6zKDKuLKkA1wbgNs+Jed0as8vUIVV/TN78eGtZEXj61hKH+K89cYcJ21CRDTqPaARa7mwgG0QJNo3pT8ZfWTTtFecV1ShPYdeQmiq3+kq5gG+8eBV0h74mZizpTJCD17ZUl4S9o4DaUAHkvfPQ38vU4ZCqoIORq3M5+thrPMgvVTWFygl7jeNoHkOlpmqMjR4fCWXyW/ISuUtKbl2OBrpzlarWGzVVVQjNdDw2clY5DtO3k8lEHZ5EUd56HXZR05+Envx1KwYfng7pXs2c22g6/7J0G7LHD2caFkJgx9H5rSNN2OgPtFOp0gIzjyIqVRZrOb2bf/j072K+WNx8uvuByusXwYSWtS0Bh7yDTlfMknMPjpbFe+EsAlRTtYpCv2qlUwlB/I42zhj4iXPfWvK7k2/x6q+ai8LQIDMVgAwIURs06LGmQL7LIG3XLtrvM+mONg6u/75RqZLE6Ey8zSbZ5AfDUbRlYvhCq/vlDNAW8rhw+YYCrIh1QQz388VSNEJw0Hi31YXUGppR0DWBvDrg4AlrbcsUtA3kMQ96S5A7Y3Dluk6QRv2eahcICuJNcA2sW5vLIRoddtmjfbSvXr2CmfMES8or64wrNbEcjCBJ/onWFoM1cFvyPfokebQAI4heGdqSx5IYkmQ4hrXzJ+ApGPc8MhjI5rsUKl1Wo29thNH7JGixLfSZd1ln4gPtVg59EUVq1zIBbckGBvQEwaPlWocgHUzwSZ9krGmgOXfWUvQ6QmLC2hDziTlns8Hhe8G7FKIXuhSWJDdsATNX160dcmagoYvcwER0ffgEOjbEojN5UqbtAOs3ysosPRYTccCV0VzVZEMKN7M55GgLXUjrp+95hbak3zOAzthtjHeF4aShbUSWu7hves7GHV9rNGaF+SYyVqEtzMDWEfOJgyEBBfp8S34XKoE+N0wnXy/K6DUsehgf0WJJ4kWSwAgW0qbo/4ZDxDmAj5gk5IODSXLvXB1l4oy6UDvzhCEWQO0Kvd7FRxGWceOdiWR3RuNAk2ryztV8ZuBdXxSz7gpHxdfF15ZFM3DuiaTL2bUu266oOIVagMj55mdpmQ0GFjsOVMN7QhMqeA0fKXidd3bu5Zm20VAnVnVieUX5hqPS41RHA9qyLqvQ4e/K9r17hpsA18bAF+c3DEtXUqjIi8Cb7LwWu5Az1FRoPBVYDHGSXLSXtK9DgVBgwCTJHu1VdpHgZLmVsY+QJI20Pg4xc1e60J76LpMkl+V31gbOK7Dz6212ln9JMvQ/aStrbWlUetSWjkFOki6Hz+Lcdz1JnReBi9n9l+wD0uuKuCNwCp7WccbEpiFLT0z8wuWtZNpwU6XK6Jwsx/Wjny7XDeYVwVXs9C/G/fPzc4bxNHO+HPdXeXx7M5vfLeajq2ySVaE2caDItlGjPVMc0/122DhezJD9aZv6xcWwn5OBvodxY1BbmaQR7b7fcB5kiIqHncWnVMmmIt/3+xUyffbmcJDP3XSdPjylaote40oGoCwnqiIsyMdVZkM74SbPqRH0WzRtN6cvNj/ZYI4b19+fFkt1OPwHfpnV7g==
sidebar_class_name: "post 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={"User Logout"}
>
</Heading>

<MethodEndpoint
  method={"post"}
  path={"/api/logout"}
  context={"endpoint"}
>
  
</MethodEndpoint>



Terminate the current user session.

<ParamsDetails
  parameters={undefined}
>
  
</ParamsDetails>

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

<StatusCodes
  id={undefined}
  label={undefined}
  responses={{"200":{"description":"User logged out successfully."},"401":{"description":"The request requires user authentication.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"Detailed error message."}},"title":"ErrorMessage"}}}}}}
>
  
</StatusCodes>


      