The Create SCIM operation creates new users based on the values provided.

Create example

Request to create a user.

Request

POST "https://<CONDECO-SCIM-Domain>/scim/api/V1/users"
{
  "schemas": [
    "urn:ietf:params:scim:schemas:core:2.0:User"
  ],
  "externalId": "JohnSmith123",
  "userName": "John.Smith",
  "active": true,
  "name": {
    "familyName": "Smith",
    "givenName": "John"
  },
  "emails": [
    {
      "primary": true,
      "value": "John.Smith@sampledomain.com"
    }
  ],
  "phoneNumbers": [
    {
      "primary": true,
      "value": "9000000000"
    },
    {
      "primary": false,
      "type": "mobile",
      "value": "9999999999"
    }
  ]
}

Response

HTTP/1.1 201 Created

{
  "schemas": [
    "urn:ietf:params:scim:schemas:core:2.0:User"
  ],
  "id": "162",
  "externalId": "JohnSmith123",
  "meta": {
        "resourceType": "User",
        "created": "2020-11-02T14:12:04.827",
        "location": "https://<CONDECO-SCIM-Domain>/scim/api/V1/users/162"
  },
  "userName": "John.Smith",
  "active": true,
  "name": {
    "familyName": "Smith",
    "givenName": "John"
  },
  "emails": [
    {
      "primary": true,
      "value": "John.Smith@sampledomain.com"
    }
  ],
  "phoneNumbers": [
    {
      "primary": true,
      "value": "9000000000"
    },
    {
      "primary": false,
      "type": "mobile",
      "value": "9999999999"
    }
  ]
}

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Please do not use this for support questions.
Condeco Support

Post Comment