List Users
Get a list of the users on your site. Only site administrators can use this operation to list other user accounts.
You can only retrieve users associated with your site. Requesting a user whose name is taken by another site returns a 404 NOT FOUND error.
Endpoint
GET https://mysite.files.com/v1.2/getUsers
Replace mysite.files.com with your site address.
Request Parameters
| Name | Data Type | Description |
|---|---|---|
access_token | string | Required. The session key that identifies which user is authenticated. Either an access token returned by the authenticateUser function, or a Files.com user API Key. |
sortBy | string | Which field to sort the results by. Valid choices are sort_users_username, sort_users_nickname, sort_users_email, or sort_users_home_folder. All sorting is case-insensitive. |
sortOrder | string | The sort direction. Valid options are asc or desc. The default is asc. |