Search for users via POST
POST {{HOST}}/admin/v1/Users/.search
Search for users with filters using POST method. This type of search is considered safer than the search using GET method.
Request Body
{"schemas"=>["urn:ietf:params:scim:api:messages:2.0:SearchRequest"], "attributes"=>["displayName", "userName"], "filter"=>"userName sw \"S\"", "startIndex"=>1, "count"=>10}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
Content-Type | string |
RESPONSES
status: OK
{"schemas":["urn:ietf:params:scim:api:messages:2.0:ListResponse"],"totalResults":2,"Resources":[{"displayName":"Simone Morrison","id":"8b34155f8bf647cbb1d90984cdb5df3c","userName":"smorrison@example.com"},{"displayName":"Sally Washer","id":"bd90825e45614dbf8856539513c91c3a","userName":"SWasher"}],"startIndex":1,"itemsPerPage":10}