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

IDCS Rest API - Assign to Group when creating a user

edited Apr 30, 2020 8:51AM in OCI - General 2 comments

Summary

Example of Groups property using the Users rest api endpoint

Content

I am creating IDCS users via the Rest API End Point, Users i.e.

{
    "schemas":[
        "urn:ietf:params:scim:schemas:core:2.0:User"
    ],
    "name":{
        "familyName":"MY_USER"
    },
    "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User": 
    {
        "employeeNumber": "1111222333"
    },
    "userName":"'|| p_username ||'",
    "urn:ietf:params:scim:schemas:oracle:idcs:extension:user:User": 
    {
    "isFederatedUser": true
    },
    "emails":[
        {
            "value":"me@me.com",
            "type":"work",
            "primary":true
        }
    ]
}

And this is all working just fine.

I am struggling trying to assign this user to one or more IDCS groups as I can't find an example of the JSON.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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