# iscsi.target.validate_name

Returns validation error for iSCSI target name :param name: name to be validated :param existing_id: id of an existing iSCSI target that will receive this name (or None if a new target is being created) :return: error message (or None if there is no error)

Type: object

##

Type: array
No Additional Items

#### Tuple Validation

##### Parameter 1: name

#### name

Type: string

##### Parameter 2: existing_id

#### existing_id

Default: null

## Any of

Type: integer
Type: null

##

#### Result

## Any of

Type: string
Type: null

Required roles: SHARING_ISCSI_TARGET_WRITE