Skip to main content
Hitachi Vantara Knowledge

Get license keys

Gets all NAS service license keys, and their associated details.

HTTP request syntax (URI)
GET <base_URI>/v8/storage/file-devices/licenses
Return codes
Code Data Description
200 licenseKeys License keys retrieved successfully.
500 Error message Error associated with the storage system.

Any HTTP status code other than 200 indicates that the API did not complete successfully.

Request example
curl -vk -H "X-Api-Key: zrxvSDAv9x.RIP4gkmKarG3beF.or.4Tc2im7oeqYN88C9XPGHxbXC" https://172.17.11.11:8444/v8/storage/file-devices/licenses
Response example
HTTP/1.1 200 OK
{
  "licenseKeys": [
    {
      "created": "14 January 2021 13:22:26",
      "expires": "",
      "features": [
        {
          "data": "",
          "featureId": 0,
          "name": "CIFS"
        },
        {
          "data": "",
          "featureId": 1,
          "name": "NFS"
        },
        {
          "data": "",
          "featureId": 4,
          "name": "ISCSI"
        },
        {
          "data": "32768",
          "featureId": 55,
          "name": "VIRTUAL_STORAGE_CAPACITY"
        }
      ],
      "isExpired": false,
      "licenseKey": "F440-F6C5-26B6-0A81-9BC2-B950-72AB-3D4E-3F1F-C7E7-FB45"
    }
  ]
}

 

  • Was this article helpful?