Skip to main content
Hitachi Vantara Knowledge

Get an FTP user

Get an individual FTP user by ID.

HTTP request syntax (URI)
GET <base_URI>/v8/storage/ftp-users/{ftpUserObjectId}
Parameters
Name Type Required Values Description
ftpUserObjectId URI_PARAM Y string FTP user object ID.
Return codes
Code Data Description
200 ftpUserFTP user 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" https://172.17.11.11:8444/v8/storage/ftp-users/313a3a3a626f623a3a3a303a3a3a4f49445f24232140255f56
Response example
HTTP/1.1 200 OK
{
  "ftpUser": {
    "filesystemId": "7B2638220D50FF9E0000000000000000",
    "initialDirectory": "/bob",
    "name": "bob",
    "objectId": "313a3a3a626f623a3a3a303a3a3a4f49445f24232140255f56"
  }
}

 

  • Was this article helpful?