Zum Inhalt springen
PCG Team Logo

PCG Team

Software für Lebensmittel-Lieferbetriebe

  • Startseite
  • Blog
  • Kontakt
  • Deutsch
    • English
    • Français
    • Español

PC Gärtner

3
  • Logon
  • Basismodule
  • Artikel-Stamm

PCG API

1
  • API Optionen

Low Level API

3
  • Proxy
  • Data Lists
  • API Konzepte

Javascript Building Blocks

2
  • API
  • Warenkorb-Komponente

Methods

4
  • Items
  • Logout
  • EventStats
  • Logon
View Categories
  • Home
  • Docs
  • PCG API
  • Low Level API
  • Methods
  • Logout

Logout

API . methods . logout


Invalidates a session. A session is typically managed by a jsessionid-Cookie.

History# #

12/2019: logon1 has new return format
10/2021: new account deletion option

Request# #

<baseurl>/api/logout[?confirmed=1][&clearAuth=1]
<baseurl>/logout      (Legacy, don't use for new implementations)

Parameter # #

confirmed (optional)If that parameter exists, rthe logout will occur even if there is a unsent cart in the sessionclearAuth (optional) If that parameter exists, any long term auth cookie will be dropped too.unregister=true triggers a account deletion processuregmsg optional comment why to drop the account

Response# #

{"action": "Logout", "result": "logout_ok"}

result values:

logout_okall fine, session is gone
hascartThis session has a unsentcart.
unregisteredunregister success

A failure condition would be, if a unsent cart exists as part of that session. This case is not yet handled by the API.

Updated on 23. August 2025

What are your Feelings

  • Happy
  • Normal
  • Sad

Share This Article :

  • Facebook
  • X
  • LinkedIn
  • Pinterest
LogonItems
Table of Contents
  • History#
  • Request#
  • Parameter #
  • Response#
  • Startseite
  • Blog
  • Kontakt
  • Deutsch
    • English
    • Français
    • Español
PCG Team Mit Stolz präsentiert von WordPress