JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle® ZFS Storage Appliance RESTful Application Programming Interface
Oracle Technology Network
Print View
search filter icon
search icon

Document Information

Using This Documentation

Chapter 1 Overview

Chapter 2 Working with the API

Chapter 3 Alert Service Commands

Chapter 4 Analytics Services

Chapter 5 Hardware Services

Chapter 6 Log Commands

Chapter 7 Network Commands

Chapter 8 Problem Service Commands

Chapter 9 Role Service

Chapter 10 SAN Services



List Initiators

Get Initiator Details

Create an Initiator

Modify an Initiator

Delete an Initiator

Initiator Groups

List Initiator Groups

Get Initiator Group Details

Create an Initiator Group

Delete an Initiator Group


List Targets

Get Target Details

Create a Target

Modify a Target

Delete a Target

Target Groups

List Target Groups

Get Target Group

Create a Target Group

Delete a Target Group

Chapter 11 Service Commands

Chapter 12 Storage Services

Chapter 13 System Commands

Chapter 14 User Service

Chapter 15 Workflow Commands

Chapter 16 RESTful Clients

Modify an Initiator

This command modifies an existing initiator. The request body contains the initiator properties that should be modified in JSON format. The IQN for the initiator is supplied in the URI. HTTP Status 202 (Accepted) is returned on success. The response body contains new iSCSI initiator properties as an object named “initiator” in JSON format.

Example Request:

PUT /api/san/v1/iscsi/initiators/  /HTTP/1.1
Content-Type: application/json
Accept: application/json


Example Response:

HTTP/1.1 202 Accepted
Content-Length: 167
Content-Type: application/json
X-Zfs-Sa-Nas-Api: 1.0

    "initiator": {
        "alias": "init-01-secure",
        "href": "/api/san/v1/iscsi/initiators/",
        "iqn": "",
        "chapsecret": "igottheintersect",
        "chapuser": "chuck"