After creating a session in REST via a POST method to "rest_access" how to logout of the given session?
Release : 17.1
Component : CA SERVICE MANAGEMENT
One will need to issue a DELETE directive to delete the given rest_access key and thus logout of the session.
An example is given under heading "Example Delete an Access Key" in the following documentation:
The following screencaps in SOAPUI demonstrates the initial session being created via a POST method to "rest_access", then application of the DELETE method to close/logout of the session (entry is removed from the usp_rest_access database table)
The user in the above example, "TestUser1" has a role assigned to its Access Type (go into the given Access Type, access its "Roles" tab, to see entry "REST Web Service API Role") in which the role's Function Access on "admin" is set to "Modify". Without this setting, the user cannot leverage the DELETE method to close/logout of the session via "rest_access".