Identity Management (MOSC)

MOSC Banner

{"message":"Write Operation is not allowed","oicErrorCode":"IDAAS-20030"}

edited Sep 1, 2017 3:52AM in Identity Management (MOSC) 2 commentsAnswered

Hi all,

I try to use curl to create a new user refernce: Using the Mobile and Social REST API

and face to following issues:

1-

curl -H "Content-Type: application/json" --request POST http://OAM-Host:Port/idaas_rest/rest/userprofile/people/ -d '{"uid":"John","description":"test user","lastname":"Anderson","commonname":"John Anderson","firstname":"John"}'

--> Error 404

2-

curl -H "Content-Type: application/json" --request POST http://OAM-Host:Port/oic_rest/rest/userprofile/people/ -d '{"uid":"John","description":"test user","lastname":"Anderson","commonname":"John Anderson","firstname":"John"}'

Error:

{"message":"Write Operation is not allowed","oicErrorCode":"IDAAS-20030"}

How can I configure OAM, that Write Operation will be possible via curl and rest?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center