Logging Off
After you are done using a token you should send a request to the security web service to remove the token from the list of valid tokens maintained on the Spectrum OnDemand server. You can access the security WADL here:
http://server:port/security/rest?wadl
To log out, use this URL:
http://server:port/security/rest/token/logout
Include the token in the Authorization HTTP header or in the Cookie HTTP header. If the token is a session token, include the session in the Cookie header. For more information, see Using a Token.This service does not take any parameters.