Find and Terminate a User Session
This activity shows you how to find and terminate a user session.
The following operations are supported by the PingOne APIs:
-
Read a user session
-
Delete a user session
Prerequisites
-
Create a user and initiate a user session in Configure a Simple Login.
Workflow order of operations
To configure a simple login with a username and password, you must complete the following tasks:
-
Make a
GETrequest to/environments/{{envID}}/users/{{SimpleLoginUserID}}/sessionsto locate the current user session. -
Make a
DELETErequest to/environments/{{envID}}/users/{{SimpleLoginUserID}}/sessions/{{UserSessionID}}to terminate the current user session. -
Make a
GETrequest to/environments/{{envID}}/users/{{SimpleLoginUserID}}/sessionsto verify no sessions are found.
Click the Run in Postman button below to fork, or download and import, the Postman collection for this workflow to your workspace.