OIM 12c: 400 Bad Request When Updating User Using REST API(PUT, PATCH)

(Doc ID 2398739.1)

Last updated on MAY 21, 2018

Applies to:

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

Goal

When updating User using REST API(PUT, PATCH) such as 

curl -i -X PUT -H "Content-Type: application/json" -d @update_user.json -u xelsysadm:password http://sampledomain.com:14000/iam/governance/selfservice/api/v1/users/41

It fails with 

 

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