AM 7.5.0

Log out of AM over REST

Authenticated users can log out with the token cookie value and an HTTP POST to /json/sessions/?_action=logout:

$ curl \
--request POST \
--header "Content-type: application/json" \
--header "iPlanetDirectoryPro: AQICS…​NzEz*" \
--header "Accept-API-Version: resource=3.1, protocol=1.0" \
    "result": "Successfully logged out"

For information about using an administrator token to force the logout of other authenticated users, refer to Invalidate sessions.

Copyright © 2010-2024 ForgeRock, all rights reserved.