Hi Vipin and Shikha,
I replicated your request on a fresh 3.0.2 installation. Your request is simply missing the `displayName` parameter and if included, should work fine.
As Mohib suggested, I am preparing for the week coming a big update on the SCIM docs at gluu.org/docs that will include example requests of this kind so that you don't necessarily have to resort to the RFC specs...
By now, here is a small excerpt that you will find useful for creating a user:
=============
[...]
To create our first dummy user, open a text editor and paste the following:
```
{
"schemas":["urn:ietf:params:scim:schemas:core:2.0:User"],
"userName":"ajsmith",
"name":{
"familyName":"Smith",
"givenName":"Joe",
},
"displayName":"Average Joe"
}
```
Save it to your local disk as `input.json` and open a command line interface (you don't need to login to Gluu's chroot). Issue this command replacing with proper values between angle brackets and if required, passing the path to your Gluu host SSL certificate:
```
$ curl --cacert /opt/gluu-server-<glu-version>/etc/certs/httpd.crt -H 'Content-Type: application/scim+json' -H 'cache-control: no-cache' -d @input.json -o output.json https://<host-name>/identity/seam/resource/restv1/scim/v2/Users?access_token=<test-mode-token>
```
After execution open the file `output.json`. You should see a response like this (some contents have been supressed):
```
{
"id": "...",
"meta": {
"created": "...",
"lastModified": "...",
"location": "https://.../scim/v2/Users/@!..."
"resourceType": "User"
},
"schemas": [ "urn:ietf:params:scim:schemas:core:2.0:User" ],
"userName": "ajsmith",
"name": {
"formatted": "Joe Smith",
"familyName": "Smith",
"givenName": "Joe"
},
"displayName": "Average Joe",
...
}
```
This new user has been given an `id`. If possible inspect your `ou=people` branch and find the entry whose `inum` matches the `id` given.
=============
For a next time issue, please include log in lower level (e.g. trace)
Kind regards.