Docs Home Return to Homepage
Get Started Login

List Logins

Last updated Changelog

On this page
http
GET /crates/{handle}/logins

The master login first, then the sub-users by name. folders is what each login can use: read lists and downloads, write also adds, changes and deletes. The master reads and writes every folder. home is the folder its sessions start in as set (null: its first folder), and starts_in where they start now. can_sign_in is false for a sub-user with no folder. has_password says whether the login has a password; the password itself is never returned here.

Response

json
[
  {
    "login": "c7xk2m9p",
    "master": true,
    "folders": { "files": "write", "shared": "write" },
    "home": "files",
    "starts_in": "files",
    "can_sign_in": true,
    "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-office",
    "master": false,
    "folders": { "shared": "read" },
    "home": null,
    "starts_in": "shared",
    "can_sign_in": true,
    "enabled": true,
    "protocols": { "ssh": false, "ftp": false, "ftp_plain": false, "webdav": true },
    "ssh_password": false,
    "file_keys": true,
    "allowed_ips": ["198.51.100.0/24"],
    "has_password": true,
    "key_count": 0
  }
]

Errors

Besides the errors any endpoint can return:

Status Code When
403 scope_denied This API key does not have Crates read access for this crate.
404 not_found Crate not found.

Snagged on something?

Our sysadmins answer tickets around the clock.