POST/auth/logout

Log out and clear the authentication cookie

Logs out the authenticated user and clears the authentication cookie. Call this operation when the user ends their session. A successful response confirms that the user has been logged out.

  • IdempotentThe SDK sends Idempotency-Key, so a retried request is only applied once.

1 status code
200Returns a response confirming that the user was logged out.
dataunknownoptional
Response payload
statusintegeroptional
successbooleanoptional