How to create the new user using access token?

Now, I get the access token from custom default authorization server. Now, I tried to create the new user using API. Which URL I used that process?

Request 1
URL - https://dev-52063794.okta.com/api/v1/users
-h Authorization: Bearer {access_token}

Request 2
URL - https://dev-52063794.okta.com/oauth2/default/v1/users
-h Authorization: Bearer {access_token}

Error: 401

Please, explain me. how to create the user using access_token? And, which URL I use that?

Hi @Magesh-P! Are you trying to create a user using our Users API - Users | Okta Developer? If so this operation will need an API Token for authentication - Overview | Okta Developer.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.