Skip to main content
Hitachi Vantara Knowledge

Get service

Gets details of a service that runs on the NAS storage device.

HTTP request syntax (URI)
GET <base_URI>/v8/storage/file-devices/services/{serviceId}
Name Type Required Values Description
serviceId URI_PARAM Y string Service ID.
Return codes
Code Data Description
200 service Service details retrieved successfully.
400 Error Message Missing or invalid request contents.
404 Error Message Requested resource not found.
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"
Response example
HTTP/1.1 200 OK
  "service": {
    "isEnabled": true,
    "name": "CIFS",
    "serviceId": 2


  • Was this article helpful?