internal

Logout

Logout by clearing the authentication cookie.

This endpoint clears the httpOnly cookie. The JWT token itself remains valid until expiry, but without the cookie the browser cannot send it automatically.

post/auth/logout

Request

  • Base URL: https://api.companydata.dk (the document declares no server; this is the origin it was published from)
  • URL: https://api.companydata.dk/auth/logout
  • Auth: none declared

Response

Successful Response

successboolean required
messagestring required

Changes

No recorded changes to this operation across all 2 revisions of this API.