Okta MyAccount Update Password Endpoint Returns "You do not have permission to access the feature you are requesting"
Last Updated:
Overview
The MyAccount Update a Password endpoint returns a 401 error when the End User Settings version 2.0 feature is disabled. Enabling this feature in the Okta Admin Console resolves the issue. The exact error message appears as follows:
You do not have permission to access the feature you are requesting.
Applies To
- Okta Identity Engine (OIE)
- MyAccount API
Cause
The Okta organization must use OIE and have the End User Settings version 2.0 feature enabled to use the MyAccount Update a Password endpoint. If this feature remains disabled, the endpoint returns a 401 response.
Solution
How is the MyAccount Update a Password endpoint permission error resolved?
Review the How to Enable End User Settings Version 2.0 article and enable the feature in the Okta Admin Console.
NOTE: Requests to this endpoint require authorization by an Access Token (sent as a bearer token) that has been granted the okta.myAccount.password.manage scope.
