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 | ✔️ | ✔️ |
"SearchUsersInIdpRequest Object"
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.
Optionally filtered by domain.
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,
"totalResults": 2000,
"startIndex": 5,
"results": [
{
"firstName": "string",
"lastName": "string",
"userId": "string",
"email": "string",
"username": "string",
"domain": "string",
"accessible": false,
"acct": "string",
"idpId": "string"
}
]
}
Number of items per page.
Total number of results if available
Start index of the results.
Partial list of returned results.
The user is not authorized to use the API
"CspErrorResponse Object"
cspErrorCode
message
errorCode
requestId
moduleCode
statusCode
Only privileged operators can search in an IDP that they do not belong to.
"CspErrorResponse Object"
cspErrorCode
message
errorCode
requestId
moduleCode
statusCode
The requested resource could not be found
"CspErrorResponse Object"
cspErrorCode
message
errorCode
requestId
moduleCode
statusCode
The request could not be processed due to a conflict
"CspErrorResponse Object"
cspErrorCode
message
errorCode
requestId
moduleCode
statusCode
The user has sent too many requests
"CspErrorResponse Object"
cspErrorCode
message
errorCode
requestId
moduleCode
statusCode
An unexpected error has occurred while processing the request
"CspErrorResponse Object"
cspErrorCode
message
errorCode
requestId
moduleCode
statusCode
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/csp/gateway/am/api/v2/users/search