---
title: "List iSCSI targets"
method: GET
path: "/iscsi/targets"
tags: ["iSCSI"]
---

# List iSCSI targets

`GET /iscsi/targets`

Retrieve all configured iSCSI targets with their portals and LUNs

## Response `200`

Success

- GithubComAlchemillahqSylveInternalAPIResponseArrayGithubComAlchemillahqSylveInternalDbModelsIscsiISCSITarget
  - `data` GithubComAlchemillahqSylveInternalDbModelsIscsiISCSITarget[]
    - `alias` string
    - `authMethod` string
    - `chapName` string
    - `createdAt` string
    - `id` integer
    - `luns` GithubComAlchemillahqSylveInternalDbModelsIscsiISCSITargetLUN[]
      - `createdAt` string
      - `id` integer
      - `lunNumber` integer
      - `targetId` integer
      - `updatedAt` string
      - `zvol` string
    - `mutualChapName` string
    - `portals` GithubComAlchemillahqSylveInternalDbModelsIscsiISCSITargetPortal[]
      - `address` string
      - `createdAt` string
      - `id` integer
      - `port` integer
      - `targetId` integer
      - `updatedAt` string
    - `targetName` string
    - `updatedAt` string
  - `error` string
  - `message` string
  - `status` string

## Other responses

- `500` — Internal Server Error

---

[API](https://skmtc.net/alchemillahq/apis/sylve-api.md) · [All operations](https://skmtc.net/alchemillahq/apis/sylve-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/alchemillahq/sylve-api/revisions/9822c41c8ac0/schema)
