Set current user to log out - HxGN SDx - Update 63 - Administration & Configuration - Hexagon

HxGN SDx API Services Configuration

Language
English
Product
HxGN SDx
Search by Category
Administration & Configuration
SmartPlant Foundation / SDx Version
10

You can log the current user out of the application using OData by sending a POST request to the following URL:

. . /api/v1/User/Intergraph.SPF.Server.API.Model.LogoutUser

This POST request must contain two parameters in the body portion of the request.

  • The HostName - The IP address of the current device

  • The SessionID - The value found under the ingr.session_id claim of the token

SHARED Tip You can extract the SessionID from the token by either writing custom code to extract the Session ID claim value or by using a JWT decoding service, such as the https://JWT.io site.

If the server request is successful, the server responds with a HTTP 204 No Content status.