beautypg.com

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

Page 18

background image

1234ABCD:1234ABCD

XML Response

See

“URI: aml/access/hosts” (page 65)

for the XML Response code.

URI: aml/access/group/{name}/host/{WWPN}

Method

DELETE

Description

Delete the host whose WWPN is given by the URI path template “WWPN”
from the Access Group resource given by the URI path template “name”.

To delete host with WWPN “1234ABCD:1234ABCD” from Access Group
“AG2” you would use the following URI:

aml/access/group/AG2/host/1234abcd:1234abcd

.

Media Type

Request: N/A

Response: application/xml and application/json

Parameters

N/A

Response Code

200, 401, 403, 404, and 500

XML Response

See

“URI: aml/access/group/{name}/host/{WWPN}” (page 64)

for the

XML Response code.

URI: aml/access/host/{WWPN}

Method

GET

Description

Retrieve the host resource whose WWPN is given by URI path template
“WWPN”. To get the host with WWPN “1234ABCD:1234ABCD” you
would use the following:

aml/access/host/1234ABCD:1234ABCD

.

Media Type

Request: N/A

Response: application/xml and application/json

Parameters

N/A

Response Code

200, 401, and 500

Method

PUT

Description

Delete the host resource. The WWPN element is required to find the
host that needs to be deleted.

Media Type

Request: application/xml and application/json

Response: application/xml and application/json

Parameters

N/A

Response Code

200, 401, 403, 404, and 500

XML Request Data


xmlns:ns2="http://automatedMediaLibrary/">
Dummy Host
5
1234ABCD:1234ABCD

Method

DELETE

Description

Update the host resource. This would be primarily used to change the
host name and host type. The WWPN element is required to find the
host that needs to be updated.

18

Resource