REST command to get all patient index on FHIR server

Hi, what is the REST command to get all patient index on FHIR server without having to import all patients.

If you just want all of the patient URLs, you can do a query using _elements=id

GET [base]/Patient?_elements=id

Note that you’ll still have to page through all of the results.