Pterodactyldocs
Authentication

Logout

Destroys the current browser session and regenerates the CSRF token.

POST/auth/logout

Authorization

panelSession
pterodactyl_session<token>

Browser session cookie. This is the default name; SESSION_COOKIE or APP_NAME can change it for a deployment.

In: cookie

Response Body

application/json

curl -X POST "https://example.com/auth/logout"
Empty