Skip to main content
Hitachi Vantara Knowledge

Get FTP users for a virtual server

Get all FTP users associated with a virtual server.

HTTP request syntax (URI)
GET <base_URI>/v8/storage/virtual-servers/{virtualServerId}/ftp/users
Name Type Required Values Description
virtualServerId URI_PARAM Y string/number Specifies either the virtual server object ID or the HNAS storage virtual server ID.
Return codes
Code Data Description
200 ftpUsersFTP users 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
  "ftpUsers": [
      "filesystemId": "7B2638220D50FF9E0000000000000000",
      "initialDirectory": "/",
      "name": "anonymous",
      "objectId": "313a3a3a616e6f6e796d6f75733a3a3a303a3a3a4f49445f24232140255f56"
      "filesystemId": "7B2638220D50FF9E0000000000000000",
      "initialDirectory": "/bob",
      "name": "bob",
      "objectId": "313a3a3a626f623a3a3a303a3a3a4f49445f24232140255f56"
      "filesystemId": "7B2638220D50FF9E0000000000000000",
      "initialDirectory": "/kevin",
      "name": "kevin",
      "objectId": "313a3a3a6e6162626f74743a3a3a303a3a3a4f49445f24232140255f56"


  • Was this article helpful?