IBM Security Verify


This portal will be removed

In IBM’s effort to continue to streamline and simplify navigation for our customers, this Ideas portal will be shut down on February 28, 2023. We would ask that you use the main IBM Ideas portal at https://ideas.ibm.com/ or the IBM Security-specific portal at https://ibmsecurity.ideas.ibm.com/ to review, vote for existing ideas, or add new ideas.

GET /v2.0/Users API only returns a MAX TotalResults of 2500 entries

Here is the requirement:
• I want to pull all users who have Attribute X with Value Y

Issue:
• The GET /v2.0/Users API only returns a MAX TotalResults of 2500 entries

Question:
• Since we have millions of accounts, how can I programmatically find all accounts that meet my requirement as opposed to just 2500?
• Is there a different API that I should be using?
• Or, how can I change the API totalResults default value (i.e., I know that changing the value will result in a slower response)

Actual Command that I am running:
GET >> https://fcis.ice.ibmcloud.com/v2.0/Users?filter=urn:ietf:params:scim:schemas:extension:ibm:2.0:User:pwdReset%20eq%20%22true%22&attributes=userName&count=500&startIndex=1


•This requires the following:
{
"totalResults": 2500,
"startIndex": 1,
"itemsPerPage": 500,
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:ListResponse"
],
"Resources": [
{

• Even if I remove the filter parameter all together, the API only ever returns a max totalResults of 2500

Since the API supports Paging, I tried making the startIndex 2501 to essentially start getting the next batch of 2500 accounts; however, that just returns the following:


{
"totalResults": 2500,
"startIndex": 2501,
"itemsPerPage": 0,
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:ListResponse"
],
"Resources": []
}

  • Guest
  • Oct 30 2019
  • Not under consideration
  • Nov 12, 2019

    Admin response

    We agree that this is absolutely needed to effectively page through all users. We will align this for sometime in 1H 2020 and respond back when we have more definitive dates.

By clicking the "Post Comment" or "Submit Idea" button, you are agreeing to the IBM Ideas Portal Terms of Use.
Do not place IBM confidential, company confidential, or personal information into any field.