<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z00008Vtpt1CABOkta Identity EngineAPI Access ManagementAnswered2022-12-14T15:33:59.000Z2022-12-12T08:59:10.000Z2022-12-14T15:33:59.000Z
  • DonF.81354 (Customer)

    Hi! The Okta Devices API seems to be what it is you might be looking for. Within this API, you can use the "List Devices" get request that will list out all the devices that are not deleted for your Org. Responses are paginated automatically, with a max of 200. You can also search based on properties you care about using the search parameter as well, which you can specify in Postman.

     

    You can configure this in Postman if needed, but I also like to use PowerShell and the Okta Module. Here is the link: PowerShell Module for Okta Management APIs

     

    Although I do not see the inclusion of the Devices API calls, you can always add them in the PowerShell module files and then you will have a way to automate this moving forward. Just a different way of doing things, useful for scripting and such. But not a must.

     

    Hope this helps! Thanks.

    Expand Post
  • Paul S. (Okta, Inc.)

    Hello @YuvalM.40047 (Customer)​ Thank you for reacting out to our Community!

     

    At this time we o not have these type of scrips out of the box, however please review these docs on how to achieve this:

    https://devforum.okta.com/t/how-to-implement-pagination-using-okta-sdk-in-net-core-app/12414/8

    https://support.okta.com/help/s/article/Pagination-Overview?language=en_US

     

    My advice would be to leverage the Okta Developer forums for this type of questions and take advantage of their expertise.

    https://devforum.okta.com/

     

    The Okta Community Catalysts Program is now live. Collect online badges when you participate in the Okta Help Center Questions community. Learn more here.

    Community members help others by clicking Upvote or Select as Best on responses. Try it today.

    Expand Post
    Selected as Best
This question is closed.
Loading
Script for exporting managed and not managed devices