Skip Navigation Links | |
Exit Print View | |
Oracle® ZFS Storage Appliance RESTful Application Programming Interface |
Creates an iSCSI initiator group with no members. The request body contains a JSON object with a single "name" parameter containing the group name.
|
Example Request:
POST /api/san/v1/iscsi/initiator-groups HTTP/1.1 Host: zfs-storage.example.com Content-Type: application/json Content-Length: 64 Accept: application/json { "name":"group-01", "initiators": ["iqn.1986-03.com.sun:02"] }
Example Response:
HTTP/1.1 201 Created Content-Type: application/json Location: /api/san/v1/iscsi/initiator-groups/test-group { "group": { "href": "/api/san/v1/iscsi/initiator-groups/test-group", "initiators": ["iqn.1986-03.com.sun:02"], "name": "group-01" } }