<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
System Status
Announcements
Announcements
Search
Search
Select Language
0D5KZ00001E9zfz0ABOkta Classic EngineAPI Access ManagementAnswered2026-10-23T09:00:22.000Z2025-08-07T08:20:28.000Z2025-08-29T14:58:58.000Z

MarcP.37735 (Customer) asked a question.

"List all devices" API Permission Error

Hi Okta Support,

 

The account that I’m using is Super Admin and it has permission to perform /api/v1/devices*:

 

/help/servlet/rtaImage?refid=0EMKZ000000xMWl

 

But I’m getting the error below when invoking the API call. Please help to check.

 

{

 "api_object": {

   "errorCode": "E0000006",

   "errorSummary": "You do not have permission to perform the requested action",

   "errorLink": "E0000006",

   "errorId": "oaepC2zNdsmTAazBmNBGb0Q0g",

   "errorCauses": []

 },

 

Cheers,

Marc


  • rqgvc (rqgvc)

    Hey Marc!

     

    This either means the API token is expired, doesn't have the correct permissions, or maybe you did not provide an API token in the API call. The API token assumes the role of the administrator that creates it and can be found in the Okta tenant under Security -> API.

    Expand Post
    Selected as Best
  • rqgvc (rqgvc)

    Hey Marc!

     

    This either means the API token is expired, doesn't have the correct permissions, or maybe you did not provide an API token in the API call. The API token assumes the role of the administrator that creates it and can be found in the Okta tenant under Security -> API.

    Expand Post
    Selected as Best
This question is closed.
Loading
"List all devices" API Permission Error
Okta Support Agent (Beta)

Terms of Service

Hello! I'm the Okta Support Agent (Beta), your go-to resource for questions about Okta products. Please remember for your security and privacy, do not share any Personally Identifiable Information (PII) such as passwords, IP addresses, or other details with me.

Okta Privacy Policy and Terms of Service apply