Skip to main content
Question

Get Managed Account API returns limited number of records

  • April 2, 2026
  • 1 reply
  • 13 views

Hello All,

We are trying to implement Rest API for different purposes. While executing Get ManagedAccounts API with powershell script, we found that it returns only first 1000 account records.

Do we know how can we increase this limit to get result for more records. We have around 11000+ records.

Thanks,

Prasad

 

1 reply

Pulitros144
Forum|alt.badge.img+5
  • Veteran
  • April 2, 2026

@prasadp87 Use the following:

$response = Invoke-WebRequest -Uri 'https://example.com/beyondtrust/api/public/v3/managedaccounts?limit=12000' -Method GET -Headers $headers

If works, mark as best answer please!