These APIs allow fetching and terminating all active sessions of a given user.
Perform the following steps:
Invoke the API to get all Identity Server clusters.
Sample URL: https://192.168.0.0:8443/amsvc/v1/idpclusters
Parse the response to get the URL for each Identity Server cluster.
…<idpCluster uri="https://192.168.0.0:8443/amsvc/v1/idpclusters/SCC7c9nsp">…
Invoke the URL of a cluster to get the sessions for a user.
URL Format: <IDP cluster URL>/sessions?userid=<user name>
Repeat for other clusters so that the sessions of the same user across all clusters are handled.
https://192.168.0.0:8443/amsvc/v1/idpclusters/SCC7c9nsp/sessions?userid=admin Use HTTP GET to retrieve all active sessions for the user 'admin'. Use HTTP DELETE method to terminate all sessions for the user 'admin'.
{ "userDN" : "cn=admin, o=novell", "sessionDetails": { ["identityServer":"192.168.0.6", "sessionCount":"1"], ["identityServer":"192.168.0.7", "sessionCount":"2"] } }