You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Getting 401 erro while using Rest API /admin/v1/UserPasswordChanger

Summary:

Curl Syntax:-

curl --location --request PUT '<IDCS_DOMAIN_URL>/admin/v1/UserPasswordChanger/<IDCS_DOMAIN_USER_ID>' --header 'Authorization: Bearer <ACCESS_TOKEN>' --header 'Content-Type: application/json' --data '{"password": "<PASSWORD>","schemas": ["urn:ietf:params:scim:schemas:oracle:idcs:UserPasswordChanger"]}'

ERROR Message: -

{"schemas":["urn:ietf:params:scim:api:messages:2.0:Error","urn:ietf:params:scim:api:oracle:idcs:extension:messages:Error"],"detail":"You are not allowed to perform any actions on this page.","status":"401","urn:ietf:params:scim:api:oracle:idcs:extension:messages:Error":{"messageId":"error.common.common.accessDenied"}}

Question: -

We are looking to change the password of a user in IDCS manually (without sending email) but above Endpoint is giving 401 error. Can you please help/guide me what is missing here?

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!