Logging out of AM Using REST

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

$ curl \
--request POST \
--header "iPlanetDirectoryPro: AQICS…​NzEz*" \
--header "Accept-API-Version: resource=3.1, protocol=1.0" \
'https://tenant-name.forgeblocks.com/am/json/realms/root/realm/alpha/sessions/?_action=logout'
{
    "result":"Successfully logged out"
}