REST API Reference Version 5.2.1.0Search

Validate_lun

POST v1/initiator_groups/id/actions/validate_lun

Description

Validate an LU number for the volume and initiator group combination.

Normal Response Codes

200

HTTP Error Codes

400 401 403 404 409 500 503

Request

Parameter Type JSON Type Description Mandatory
id NsObjectID string ID of the initiator group. A 42 digit hexadecimal number. Example: '2a0df0fe6f7dc7bb16000000000000000000004817'. true
vol_id NsObjectID string ID of the volume. A 42 digit hexadecimal number. Example: '2a0df0fe6f7dc7bb16000000000000000000004817'. false
lun NsUnsignedLong number LU number to validate in decimal. Unsigned 64-bit integer. Example: 1234. true

JSON Request

            
           
           {
               "data": {
                   "vol_id": "0600000000000004d3000000000000000000000002",
                   "lun":0
               }
           }
           
       
         

Response

Type:

JSON Response

            
            
            {}