List Users
Changed onList Users
Request
- Base URLhttps://app.files.com/api/rest/v1
- URLhttps://app.files.com/api/rest/v1/users
- Authnone declared
Query parameters
Used for pagination. When a list request has more records available, cursors are provided in the response headers X-Files-Cursor-Next and X-Files-Cursor-Prev. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
If set, sort records by the specified field in either asc or desc direction. Valid fields are site_id, workspace_id, company, name, disabled, authenticate_until, username, email, site_admin, last_desktop_login_at, last_login_at, password_validity_days or ssl_required.
If set, return records where the specified field is equal to the supplied value. Valid fields are username, name, email, company, site_admin, password_validity_days, ssl_required, last_login_at, authenticate_until, not_site_admin, disabled, partner_id, primary_group_id or workspace_id. Valid field combinations are [ site_admin, username ], [ not_site_admin, username ], [ workspace_id, username ], [ company, name ], [ workspace_id, name ], [ workspace_id, email ], [ workspace_id, company ], [ workspace_id, site_admin ], [ workspace_id, not_site_admin ], [ workspace_id, disabled ], [ workspace_id, partner_id ], [ workspace_id, site_admin, username ], [ workspace_id, not_site_admin, username ], [ workspace_id, disabled, username ], [ workspace_id, partner_id, username ] or [ workspace_id, company, name ].
If set, return records where the specified field is greater than the supplied value. Valid fields are password_validity_days, last_login_at or authenticate_until.
If set, return records where the specified field is greater than or equal the supplied value. Valid fields are password_validity_days, last_login_at or authenticate_until.
If set, return records where the specified field is prefixed by the supplied value. Valid fields are username, name, email or company. Valid field combinations are [ company, name ].
If set, return records where the specified field is less than the supplied value. Valid fields are password_validity_days, last_login_at or authenticate_until.
If set, return records where the specified field is less than or equal the supplied value. Valid fields are password_validity_days, last_login_at or authenticate_until.
comma-separated list of User IDs
Include users from the parent site.
When scoped to a Custom Workspace, include Default Workspace users who have permissions in that Workspace. Available to Site Administrators, and to Workspace Administrators and Folder Admins in that Workspace when the site shares its Default Workspace directory with Workspaces.
Searches for partial matches of name, username, or email.
Response
A list of Users objects.
Example response
[
{
"id": 1,
"username": "user",
"admin_group_ids": [
1
],
"allowed_ips": "10.0.0.0/8\n127.0.0.1",
"attachments_permission": true,
"api_keys_count": 1,
"authenticate_until": "2000-01-01T01:00:00Z",
"authentication_method": "password",
"avatar_url": "example",
"billable": true,
"created_at": "2000-01-01T01:00:00Z",
"dav_permission": true,
"disabled": true,
"disabled_expired_or_inactive": true,
"ai_assistant_personality_id": 1,
"desktop_configuration_profile_id": 1,
"integration_centric_profile_id": 1,
"email": "john.doe@files.com",
"filesystem_layout": "site_root",
"first_login_at": "2000-01-01T01:00:00Z",
"ftp_permission": true,
"group_ids": "example",
"header_text": "User-specific message.",
"language": "en",
"last_login_at": "2000-01-01T01:00:00Z",
"last_web_login_at": "2000-01-01T01:00:00Z",
"last_ftp_login_at": "2000-01-01T01:00:00Z",
"last_sftp_login_at": "2000-01-01T01:00:00Z",
"last_dav_login_at": "2000-01-01T01:00:00Z",
"last_desktop_login_at": "2000-01-01T01:00:00Z",
"last_restapi_login_at": "2000-01-01T01:00:00Z",
"last_api_use_at": "2000-01-01T01:00:00Z",
"last_active_at": "2000-01-01T01:00:00Z",
"last_protocol_cipher": "example",
"lockout_expires": "2000-01-01T01:00:00Z",
"name": "John Doe",
"company": "ACME Corp.",
"notes": "Internal notes on this user.",
"notification_daily_send_time": 18,
"office_integration_enabled": true,
"partner_admin": true,
"partner_id": 1,
"partner_name": "example",
"password_set_at": "2000-01-01T01:00:00Z",
"password_validity_days": 1,
"primary_group_id": 1,
"public_keys_count": 1,
"receive_admin_alerts": true,
"notify_on_all_site_warnings": true,
"notify_on_all_sso_failures": true,
"notify_on_all_user_security_events": true,
"notify_on_all_pending_work_failures": true,
"notify_on_all_siem_http_destination_failures": true,
"notify_on_all_sync_failures": true,
"notify_on_all_automation_failures": true,
"notify_on_all_expectation_failures": true,
"require_2fa": "always_require",
"require_login_by": "2000-01-01T01:00:00Z",
"active_2fa": true,
"require_password_change": true,
"password_expired": true,
"responsible_group_id": 1,
"responsible_user_id": 1,
"readonly_site_admin": true,
"restapi_permission": true,
"s3_compatible_endpoint_permission": true,
"self_managed": true,
"sftp_permission": true,
"site_admin": true,
"workspace_admin": true,
"site_id": 1,
"workspace_id": 1,
"default_workspace_id": 1,
"skip_welcome_screen": true,
"ssl_required": "always_require",
"sso_strategy_id": 1,
"externally_managed": true,
"tags": "example",
"time_zone": "Pacific Time (US & Canada)",
"type_of_2fa": "yubi",
"type_of_2fa_for_display": "yubi",
"user_root": "example",
"user_home": "example",
"days_remaining_until_password_expire": 1,
"password_expire_at": "2000-01-01T01:00:00Z"
}
]Changes
- info
added the new optional
queryrequest parameterinclude_default_workspace_users
- info
- warning
deleted the
queryrequest parameterfilter_like - warning
deleted the
queryrequest parameterq[admin] - warning
deleted the
queryrequest parameterq[allowed_ips] - warning
deleted the
queryrequest parameterq[email] - warning
deleted the
queryrequest parameterq[notes] - warning
deleted the
queryrequest parameterq[password_validity_days] - warning
deleted the
queryrequest parameterq[ssl_required] - warning
deleted the
queryrequest parameterq[username] - info
api tag
Usersadded - info
added the new optional
queryrequest parameterfilter_prefix - info
added the new optional
queryrequest parameterinclude_parent_site_users
- warning