v1
latestOpenAPI 3.0.02026-07-135965404.0 KBGet a list of users
Get a list of the users in your account. There are three main types of searches you can do with this method:
- Search for a user by username. If you provide the username parameter in your call, then only the user who exactly matches that username will be in the list of matches. Any other parameters are ignored.
- Search for a user by individual filter fields (nickname,email,role,status,homeDir). Users in the list will be ones who match all of the filters you choose to search by. For example, you could look for users with the "admin" role AND email addresses ending in "*@acme.com".
- Search for a user by search string. If you provide the search parameter, users whose nickname OR email OR role OR homeDir match value your provide.
Notes:
- You must be an admin-level user to use this.
- The homeDir is the full path to the user's home directory, not a resource ID or hash.
Query parameters
The username of the user you are looking for. Only entries with the same username as this will be in the list of results. Does not support wildcard searches.
Resource identifier for user's home directory. Does not support wildcard searches.
Nickname to search for. Ignored if username is provided. Supports wildcard searches.
Email to search for. Ignored if username is provided. Supports wildcard searches
Types of users to include the list. Ignored if username is provided. Valid options are admin, master and user
Whether a user is locked. Ignored if username is provided. 0 means user is locked, 1 means user is not locked.
Searches the nickname, email, role and homeDir fields for the provided value. Ignored if username is provided. Supports wildcard searches.
Starting user record in the result set. Can be used for pagination.
Sort order or matching users. You can sort by multiple columns by separating sort options with a comma; the sort will be applied in the order specified. The sort order for each sort field is ascending unless it is prefixed with a minus (“-“), in which case it will be descending.
Valid sort fields are: nickname, username, email, homeDir and modified
Number of users to return. Can be used for pagination.
Comma separated list of relationships to include in response. Valid options are homeResource and ownerAccount.
Headers
API key required to make the API call.
Access token required to make the API call.
Response
Successful Operation