Skip to content

Logout Service

The user logout service provides functionality to terminate an active user session from the client.

The service always returns HTTP status 204 (no content), even if there was no active session for the calling user at the point the call was made, and does not require authentication (but it does require a session cookie header identifying the session to be terminated). Implement the functionality using the logout service API.

Two options are available - POST and DELETE. The POST method does the same thing as DELETE, but is the option to use if the configuration includes a firewall. For further information on these APIs, visit the SAP API Business Hub at:

Last update: April 14, 2021