<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
Permission Error when Attempting to Create Users using API
Administration
Okta Classic Engine
Okta Identity Engine
Overview

This article explains why the following error may appear when attempting to create a user using an API call in Postman:

 

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

 

Applies To
  • API Tokens
  • Users API requests
  • Administrator Roles
Cause

The user who created the API token lacks the correct Administrator role or has been deactivated. 

Solution

Ensure that the user who created the API token has the correct Administrator role granted to create users. To create users, an admin needs at least one of the following standard admin roles:

  • Super Admin
  • Org Admin
  • Group Admin - Permissions apply only to groups that the admin is allowed to manage.

To verify the admin roles assigned to the user, navigate to their Okta user account under Directory > People and locate the Admin roles tab. 

Admin roles tab

 

Related References

Loading
Permission Error when Attempting to Create Users using API