HFS 3
  1. accounts
HFS 3
  • Introduction
  • Front-end
    • List files
      GET
    • Upload
      PUT
    • Upload
      POST
    • Delete
      DELETE
    • Create folder
      POST
  • Admin
    • misc
      • get config
      • set config
    • accounts
      • add account
        POST
      • update account
        POST
      • list accounts
        GET
      • delete account
        POST
      • list usernames
        GET
      • get account
        GET
      • list admins
        GET
      • safer update of the password
        POST
    • VFS
    • plugins
      • get plugin config
      • set plugin config
    • monitoring
    • log
  1. accounts

list accounts

GET
/~/api/get_accounts

Request

None

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://localhost/~/api/get_accounts'

Responses

🟢200Success
application/json
Body
list
array[object (Account) {10}] 
required
username
string 
required
password
string 
optional
belongs
array[string]
optional
ignore_limits
boolean 
optional
disable_password_change
boolean 
optional
admin
boolean 
optional
redirect
string 
optional
disabled
boolean 
optional
expire
string <date-time>
optional
days_to_live
number 
optional
Example
{
    "list": [
        {
            "username": "string",
            "password": "string",
            "belongs": [
                "string"
            ],
            "ignore_limits": true,
            "disable_password_change": true,
            "admin": true,
            "redirect": "string",
            "disabled": true,
            "expire": "2019-08-24T14:15:22Z",
            "days_to_live": 0
        }
    ]
}
Modified at 2025-05-30 14:11:36
Previous
update account
Next
delete account
Built with