Openminds Sock API

Create FTP User

Creates a new FTP user for one of your accounts.

URL

/ftp_users

Method

POST

Data parameters

Required

  • user_token=[string]
  • client_token=[string]
  • account_id=[integer]
  • user=[string]
  • password=[string]
  • read_only=[boolean]

Optional

  • dir=[string]

Sample usage

curl -X POST https://sock.openminds.be/api/v1/ftp_users -d user_token=1234 -d client_token=5678 \
  -d account_id=7 \
  -d user=ftplogin \
  -d password=mYs3cr3t \
  -d dir=\/path\/to\/ftp\/directory \
  -d read_only=true