Return to Homepage

List Logins

http
GET /crates/{handle}/logins

The master login first, then the sub-users by folder. The master sees the whole crate; a sub-user sees only its own folder. size_gb is a sub-user’s cap (null: none, up to the crate’s size), and used_gb what its folder holds (for the master, its own files without the sub-users’ folders). has_password says whether the login has a password; the password itself is never returned here.

Response

json
[
  {
    "login": "c7xk2m9p",
    "folder": null,
    "master": true,
    "size_gb": null,
    "used_gb": 12.4,
    "read_only": false,
    "enabled": true,
    "protocols": { "ssh": true, "ftp": false, "ftp_plain": false, "webdav": true },
    "ssh_password": false,
    "file_keys": true,
    "allowed_ips": [],
    "has_password": true,
    "key_count": 1
  },
  {
    "login": "c7xk2m9p-backups",
    "folder": "backups",
    "master": false,
    "size_gb": 200,
    "used_gb": 26.1,
    "read_only": false,
    "enabled": true,
    "protocols": { "ssh": true, "ftp": false, "ftp_plain": false, "webdav": false },
    "ssh_password": false,
    "file_keys": true,
    "allowed_ips": ["198.51.100.0/24"],
    "has_password": true,
    "key_count": 2
  }
]

On this page

Snagged on something?

Our sysadmins answer tickets around the clock.