List
List
client.users.list(UserListParamsquery?, RequestOptionsoptions?): expandedunionlistunionnextPageTokenstringUserListResponse
get/api/v1/users
List users.
Parameters
querypage_sizenumberpage_tokenstringUserListParams
Returns
UserListResponse
The UserServiceListResponse message contains a list of results and a nextPageToken if applicable.
Request example TypeScript
import ConductoroneSDK from 'conductorone-sdk';
const client = new ConductoroneSDK({
apiKey: 'My API Key',
});
const users = await client.users.list();
console.log(users.expanded);200 Example
{
"expanded": [
{
"@type": "@type"
}
],
"list": [
{
"user": {
"delegatedUserId": "delegatedUserId",
"roleIds": [
"string"
],
"status": "UNKNOWN"
}
}
],
"nextPageToken": "nextPageToken"
}