Skip to main content
Hitachi Vantara Knowledge

Disable service

Disable a service on the NAS storage device.

HTTP request syntax (URI)
POST <base_URI>/v8/storage/file-devices/services/{serviceId}/disable
Name Type Required Values Description
serviceId URI_PARAM Y string Service ID.
Return codes
Code Data Description
204 No Data The service has been successfully disabled.
403Error MessageOperation forbidden by access level.
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 204 indicates that the API did not complete successfully.

Request example: Disable the service identified by the ID 2
curl -vk -H "X-Api-Key: zrxvSDAv9x.RIP4gkmKarG3beF.or.4Tc2im7oeqYN88C9XPGHxbXC" -X POST
Response example
HTTP/1.1 204 No Content


  • Was this article helpful?