Full Update User

Replaces the user attributes with the attributes specified in the request content. If an attribute is not specified, the value of that attribute is replaced as null. If a password is not specified, the existing password is not altered.

HTTP Request Method

PUT

URI

https://hs-identity-api.oracleindustry.com/scim/v1/<tenant>/Users/{id}

Request schema URI

urn:scim:schemas:core:2.0:User

Response schema URI

urn:scim:schemas:core:2.0:User

HTTP Response Codes

The following response codes apply:

  • 200
  • 400
  • 401
  • 403
  • 404
  • 412

For more information, see Return Codes.

Sample Message Exchange

Request

PUT /scim/v1/mypharma/Users/5a5dc886031d49088cc01f723daa1f4e HTTP 1.1
Host: example.com
Authorization: Basic Y3VzdG9tZXIuYWRtaW51c2VyOnBhc3N3b3Jk=
Accept: application/json
Content-Type: application/json;charset=UTF-8
Content-Length: ...
{
    "schemas" : [
        "urn:scim:schemas:core:2.0:User"
    ],
    "externalId" : "john.doe@mypharma.com",
    "userName" : "john.doe",
    "name" : {
        "familyName" : "Doe",
        "givenName" : "John"
    },
    "emails" : [
        {
            "value" : "john.doe@mypharma.com",
            "type" : "work"
        }
    ]
}

Response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: ...
Location https://hs-identity-api.oracleindustry.com/scim/v1/mypharma/
Users/5a5dc886031d49088cc01f723daa1f4e
{
    "schemas" : [
        "urn:scim:schemas:core:2.0:User"
    ],
    "id" : "5a5dc886031d49088cc01f723daa1f4e",
    "externalId" : "john.doe@mypharma.com",
    "userName" : "JOHN.DOE",
    "name" : {
        "familyName" : "Doe",
        "givenName" : "John"
    },
    "emails" : [
        {
            "value" : "john.doe@mypharma.com",
            "type" : "work"
        }
    ],    
    "userType" : "LIVE",
    "active" : true,
    "meta" : {
        "created" : "2014-05-20T14:02:57Z",
        "lastModified" : "2014-06-06T13:48:48Z",
"location": "https://hs-identity- api.oracleindustry.com/scim/v1/mypharma/Users/5a5dc886031d49088cc01f723daa1f4e", 
        "resourceType": "User"
    }
}