Create User
HTTP Request Method
POST
URI
https://hs-identity-api.oracleindustry.com/scim/v1/<tenant>/Users
Request schema URI
urn:scim:schemas:core:2.0:User
Response schema URI
The following response codes apply:
- 201
- 303
- 400
- 401
- 403
- 404
- 412
For more information, see Return Codes.
Sample Message Exchange
Request
POST /scim/v1/mypharma/Users 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@customer.com",
"userName" : "john.doe",
"name" : {
"familyName" : "Doe",
"givenName" : "John"
},
"emails" : [
{
"value" : "john.doe@mypharma.com",
"type" : "work"
}
],
"phoneNumbers" : [
{
"value" : "555-555-5555",
"type" : "work"
}
],
"password" : "S0M3P@ssw0rd"
}Response
HTTP/1.1 201 Created 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"
}
],
"phoneNumbers" : [
{
"value" : "555-555-5555",
"type" : "work"
}
],
"userType" : "LIVE",
"active" : true,
"meta" : {
"created" : "2014-05-20T14:02:57Z ",
"lastModified" : "2014-05-20T14:02:57Z ",
"location": "https://hs-identity- api.oracleindustry.com/scim/v1/mypharma/Users/5a5dc886031d49088cc01f723daa1f4e",
"resourceType": "User"
}
}Parent topic: User Management API