Logo
MicroStrategy REST API API Documentation

Get info for a set of users

GET {{baseUrl}}/api/users

Get information for a specific set of users. You obtain the authorization token needed to execute the request using POST /auth/login; you pass the authorization token in the request header. You identify the set of users to be returned with query parameters that specify the characters that the user name or abbreviation must begin with. You can use other query parameters to limit the results that are returned by specifying a starting point within the results and the maximum number of results that should be returned.

 

Body PARAM

Key Datatype Required Description 
nameBegins
null Characters that the user name must begin with.
abbreviationBegins
null Characters that the user abbreviation must begin with.
offset
number Starting point within the collection of returned search results. Use to control paging behavior.
limit
number Maximum number of items returned for a single search request. Use to control paging behavior. Use -1 for no limit (subject to governing settings).
id
null List of User ids
fields
null Comma-separated, top-level field whitelist that allows the client to selectively retrieve part of the response model. If specified, extra filtering is applied, and for top-level object (if root model is an array, each array element), only the listed fields are kept in the response. For example, "id,elements" keeps only the "id" field and whole "elements" array field, omitting all other fields in the top-level response model.



HEADERS

Key Datatype Required
Curl
curl -X GET 'baseUrl/api/users?nameBegins=&abbreviationBegins=&offset=0&limit=-1&id=&fields=' -H 'X-MSTR-AuthToken: authToken'

ENDPOINTS