# iscsi.target.delete

Delete iSCSI Target of id.

Deleting an iSCSI Target makes sure we delete all Associated Targets which use id iSCSI Target.

Type: object

##

Type: array
No Additional Items

#### Tuple Validation

##### Parameter 1: id

#### id

Type: integer

ID of the iSCSI target to delete.

##### Parameter 2: force

#### force

Type: boolean Default: false

Whether to force deletion even if the target is in use.

##### Parameter 3: delete_extents

#### delete_extents

Type: boolean Default: false

Whether to also delete associated extents.

##

#### Result

Type: const

Returns `true` when the iSCSI target is successfully deleted.

Specific value: `true`

Required roles: SHARING_ISCSI_TARGET_WRITE