beautypg.com

Uri: aml/access/group/{name}/device – HP StoreEver ESL G3 Tape Libraries User Manual

Page 15

background image

Response: application/xml and application/json

Parameters

N/A

Response Code

200, 401, and 500

Method

POST

Description

Create a new Access Group with the name given by the path template name.
To create a new access group with the name “AG3” use
aml/access/group/AG3

.

Media Type

Request: N/A

Response: application/xml and aapplication/json

Parameters

N/A

Response Code

200, 401, 403, and 500

Method

DELETE

Description

Delete Access Group with the name given by the URI path template name.

Media Type

Request: N/A

Response: application/xml and aapplication/json

Parameters

N/A

Response Code

200, 401, 403, 404, and 500

XML Response

See

“URI: aml/access/group/{name}” (page 60)

for the XML Response code.

URI: aml/access/group/{name}/device

Method

POST

Description

Add a new Access Device to the Access Group given by the URI path
template name. The element must be set to true, otherwise
access will not be granted on that port. A partition accessDevice (type=2)
is really a drive that is configured as a control path drive.

Media Type

Request: N/A

Response: application/xml and application/json

Parameters

N/A

Response Code

200, 401, 404, and 500

XML Request Data


xmlns:ns2="http://automatedMediaLibrary/">
F001396025
1

1
true

Method

PUT

Description

Update Access Device that belongs to the Access Group given by the
name

path template parameter.

The example below modifies access so the first port on the device will
no longer be seen and the second port will be seen by all hosts in the
access group.

Media Type

Request: application/xml and application/json

URI: aml/access/group/{name}/device

15