HP 3PAR Web Service API 1.3.1 Developer's Guide

Table 52 Host Creation Error Codes (continued)
DescriptionHTTP CodeAPI Error
WWN specification contains
non-hexadecimal digit.
(Since WSAPI 1.2)
iSCSI name or WWN is already
claimed by other host.
409 ConflictEXISTENT_PATH
(Since WSAPI 1.2)
Host name is already used.409 ConflictEXISTENT_HOST
(Since WSAPI 1.2)
No space to create host.400 Bad RequestNO_SPACE
Modifying a Host
Modify a host using the HTTP PUT method. Use the following URI:
https://<storage_system>:8080/api/v1/hosts/<host_name>
NOTE: Any user with Super or Edit role, or any role granted the host_set right, can perform
this operation. Access to all domains is required for this operation.
Table 53 (page 75) shows the members that the message body can include to make a
host-modification request.
Table 53 Message Body JSON Objects for Host Modification Request
DescriptionIgnored ValuesAPI TypeJSON TypeMember
New name of the
host
Nullname31stringnewName
(Since WSAPI 1.2)
If adding, adds the
WWN or iSCSI
Zero and negative
values
hostEditOperation EnumnumberpathOperation
name to the existing
host.
If removing, removes
the WWN or iSCSI
names from the
existing host.
(Since WSAPI 1.2)
One or more WWN
to set for the host.
NullWWNarray of stringFCWWNs
(Since WSAPI 1.2)
One or more iSCSI
names to set for the
host.
NullName223array of stringiSCSINames
(Since WSAPI 1.2)
If True, remove
WWN(s) or iSCSI(s)
NoneBooleanforcePathRemoval
even if there are
VLUNs that are
exported to the host.
(Since WSAPI 1.2)
Modifying a Host 75