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

Get Target Details

Gets properties from a single target. The target can be selected by using the "iqn" property or by using "alias=<alias>".

Example Request:

GET /api/san/v1/iscsi/targets/alias=test-target HTTP/1.1
Authorization: Basic abcd123MWE=
Accept: application/json

Example Response:

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 251

    "target": {
        "alias": "test-target",
        "auth": "none",
        "href": "/api/san/v1/iscsi/targets/alias=test-target",
        "interfaces": ["ixgbe0"],
        "iqn": "",
        "targetchapsecret": "",
        "targetchapuser": ""