Uri: aml/users/session/{id, Uri: aml/users/sessions – HP StoreEver ESL G3 Tape Libraries User Manual
Page 54

XML Request Data
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:user xmlns:ns2="http://automatedMediaLibrary/">
<name>admin</name>
<password>secret password</password>
<ldap>false</ldap>
</ns2:user>
Method
DELETE
Description
Logout of the library web services.
Media Type
Request: N/A
Response: application/xml and application/json
Parameters
N/A
Response Code
200, 401, and 500
XML Response
See
“URI: aml/users/login” (page 103)
for the XML Response code.
URI: aml/users/session/{id}
Method
DELETE
Description
Log off the user with the id given by URI path template “id”. The user id's
are reported in the userSession objects URI aml/users/sessions. Only uses
with Admin privileges (role 0) can log off other users.
Media Type
Request: N/A
Response: application/xml and application/json
Parameters
N/A
Response Code
200, 401, 404, and 500
XML Response
See
“URI: aml/users/session/{id}” (page 104)
for the XML Response code.
URI: aml/users/sessions
Method
GET
Description
Retrieve the user sessions (current logged in users) resources.
Media Type
Request: N/A
Response: application/xml and application/json
Parameters
N/A
Response Code
200, 401, and 500
XML Response
See
“URI: aml/users/sessions” (page 104)
for the XML Response code.
54
Resource