Create Users
Search
client.search.createUsers(SearchCreateUsersParamsbody?, RequestOptionsoptions?): expandedunionlistunionnextPageTokenstringSearchCreateUsersResponse
post/api/v1/search/users
Search users based on filters specified in the request body.
Parameters
bodyemailstringexcludeIdsunionexcludeTypesunionexpandMaskExpandMaskidsunionpageSizenumberpageTokenstringquerystringrefsunionroleIdsunionuserStatusesunionSearchCreateUsersParams
Returns
SearchCreateUsersResponse
The SearchUsersResponse message.
Request example TypeScript
import ConductoroneSDK from 'conductorone-sdk';
const client = new ConductoroneSDK({
apiKey: 'My API Key',
});
const response = await client.search.createUsers();
console.log(response.expanded);200 Example
{
"expanded": [
{
"@type": "@type"
}
],
"list": [
{
"user": {
"delegatedUserId": "delegatedUserId",
"roleIds": [
"string"
],
"status": "UNKNOWN"
}
}
],
"nextPageToken": "nextPageToken"
}