FTP-Stream APIs
Space shortcuts
FTP-Stream APIs FA
Skip to end of metadata
Go to start of metadata

This API call is used to insert User ID. 



POST https://www.maytech.net/panel/api/1.0/user/?api_key=12345678-0000-0000-0000-000000000000 Content-Type: application/json {"login":"demo","password":"demopass","real_name":"John Smith","homedir":"\/demo"}


Returns full User ID record on success

  • 200 - OK
  • 400 - Bad request
  • 401 - Invalid api_key
  • 500 - Internal Server Error
HTTP/1.1 200 OK
Content-Type: application/json
 "status": "OK",
 "data": {
 "uuid": "00000000-0000-0000-0000-000000000000",
 "login": "demo",
 "password": "demopass",
 "real_name": "John Smith",
 "homedir": "\/demo",
 "expire_time": "4102444800",
 "bytes_in_avail": "0",
 "admin": "N",
 "active": "Y",
 "lockedout": "N",
 "ftp_active": "Y",
 "ftps_active": "Y",
 "ftp_filelist": "Y",
 "ftp_download": "Y",
 "ftp_upload": "Y",
 "ftp_overwrite": "Y",
 "ftp_delete": "Y",
 "sftp_active": "Y",
 "sftp_filelist": "Y",
 "sftp_download": "Y",
 "sftp_upload": "Y",
 "sftp_overwrite": "Y",
 "sftp_delete": "Y",
 "http_active": "Y",
 "https_active": "Y",
 "web_filelist": "Y",
 "web_download": "Y",
 "web_upload": "Y",
 "web_overwrite": "Y",
 "web_delete": "Y",
 "web_manage": "Y",
 "web_media": "N",
 "web_notification": "Y",
 "email": null,
 "recover_email": null,
 "passwordless_link": "http:\/\/demo.ftpstream.com\/?lid=randomstring",
 "secure_passwordless_link": "https:\/\/demo.ftpstream.com\/?lid=randomstring"
  • No labels
Write a comment…
FTP-Stream APIs FA