cancel
Showing results for 
Search instead for 
Did you mean: 

Get all users via API

Get all users via API

extreme
New Contributor

Hello everybody

I'd like to obtain the total users via REST API (cURL, for example). Now have this:

 

curl -s -X GET "https://api.extremecloudiq.com/ssids/users?limit=100"

 

it’s possible to obtain the results without limit? Actually have the following pages and results:

 

  "total_pages": 2179,
  "total_count": 21783
 

 

If I put the value limit to 1000000 appears this error because the process takes a long time and returns this:

 

<head><title>504 Gateway Time-out</title></head>
 

it’s possible to obtain the export CSV (https://ie.extremecloudiq.com/#/users/users) via command line?

 

Thanks in advance.

1 ACCEPTED SOLUTION

Dilraj_Singh_Kh
Extreme Employee

https://extremecloudiq.com/api-docs/api-docs.html

Here is the documentation

Please note that the Work on API is still in progress. We are working on a new End-point web application to make API calls. The tentative date of it’s release is by the end of September.

View solution in original post

9 REPLIES 9

Dilraj_Singh_Kh
Extreme Employee

So can’t we do

curl -X GET "https://api.extremecloudiq.com/ssids/users?page=2179&limit=25000"

?

extreme
New Contributor

yes. It run correctly but I need all users. not only 10 .

Dilraj_Singh_Kh
Extreme Employee

Try:

curl -X GET "https://api.extremecloudiq.com/ssids/users?page=2179&limit=10"

extreme
New Contributor

via GUI I can generate the CSV correctly but I need via cURL

Dilraj_Singh_Kh
Extreme Employee

CLI for XIQ? I never heard of it.

But if you want to export the users via GUI, check the below screen shot:

6ba64788544b4a07a92d33776bbe60e1_6050ad26-6627-4373-840e-7a22ac3192bb.png

 

GTM-P2G8KFN