Issue With REST API Example To Update Account Password using CURL Command (Doc ID 2236999.1)

Last updated on FEBRUARY 27, 2017

Applies to:

Identity Manager - Version 11.1.2.3.161018 and later
Information in this document applies to any platform.

Goal

Following the example from https://docs.oracle.com/cd/E52734_01/oim/OIGSS/op-accounts-%7Baccountid%7D-password-put.html#examples to update the password on an account but getting the following error: Unsupported Media Type

The curl command in the example is: curl -I -x PUT -u username:password -d @put.json https://pseudo.com/iam/goverance/selfservice/api/v1/accounts/29/password
Input put.json is this:


Why does the Unsupported Media Type error is thrown ?
 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms