Search Users In Idp By Names And Email Using POST
Search users in idp by names and email.
Access Policy
Role | User Accounts | Service Accounts (Client Credentials Applications) |
---|---|---|
Organization Member | ✔️ | ✔️ |
Organization Admin | ✔️ | ✔️ |
Organization Owner | ✔️ | ✔️ |
Show optional properties
{
"searchTerm": "string"
}
{
"domain": "string",
"idpId": "string",
"pageLimit": 0,
"pageStart": 0,
"searchTerm": "string"
}
Optionally filtered by domain.
Idp id to search users into it. Must not be null or blank.
Maximum number of users to return in response. Default value is 200.
Start index for querying users. Default value is 1.
Search criteria to search for users by their first name, last name and email. Must not be null or blank. Max search length is 120 characters.
OK
{
"itemsPerPage": 25,
"results": [
{
"accessible": false,
"acct": "string",
"domain": "string",
"email": "string",
"firstName": "string",
"idpId": "string",
"lastName": "string",
"userId": "string",
"username": "string"
}
],
"startIndex": 5,
"totalResults": 2000
}
Number of items per page.
Start index of the results.
Total number of results if available
The user is not authorized to use the API
{
"cspErrorCode": "string",
"errorCode": "string",
"message": "string",
"moduleCode": 0,
"requestId": "string",
"statusCode": 0
}
cspErrorCode
errorCode
message
moduleCode
requestId
statusCode
Only privileged operators can search in an IDP that they do not belong to.
{
"cspErrorCode": "string",
"errorCode": "string",
"message": "string",
"moduleCode": 0,
"requestId": "string",
"statusCode": 0
}
cspErrorCode
errorCode
message
moduleCode
requestId
statusCode
The requested resource could not be found
{
"cspErrorCode": "string",
"errorCode": "string",
"message": "string",
"moduleCode": 0,
"requestId": "string",
"statusCode": 0
}
cspErrorCode
errorCode
message
moduleCode
requestId
statusCode
The request could not be processed due to a conflict
{
"cspErrorCode": "string",
"errorCode": "string",
"message": "string",
"moduleCode": 0,
"requestId": "string",
"statusCode": 0
}
cspErrorCode
errorCode
message
moduleCode
requestId
statusCode
The user has sent too many requests
{
"cspErrorCode": "string",
"errorCode": "string",
"message": "string",
"moduleCode": 0,
"requestId": "string",
"statusCode": 0
}
cspErrorCode
errorCode
message
moduleCode
requestId
statusCode
An unexpected error has occurred while processing the request
{
"cspErrorCode": "string",
"errorCode": "string",
"message": "string",
"moduleCode": 0,
"requestId": "string",
"statusCode": 0
}
cspErrorCode
errorCode
message
moduleCode
requestId
statusCode