By: guilherme augusto user 27 Aug 2021 at 1:04 p.m. CDT

2 Responses
guilherme augusto gravatar
I am trying to create a user through SCIM API using postman. Can you help me please ? I am sending a post to with beare token and this json at body { "schemas": [ "urn:ietf:params:scim:schemas:core:2.0:User", "urn:ietf:params:scim:schemas:extension:gluu:2.0:User" ], "urn:ietf:params:scim:schemas:extension:gluu:2.0:User": { "o": "a2f21848-866c-4953-80b1-b908a025bc1c" }, "userName": "CXpartner", "displayName": "CX", "name": { "givenName": "CX", "middleName": "", "familyName": "Partner" }, "active": true, "password": "...", "emails": [ { "type": "primary", "value": "" } ] } the response is 400 Bad request Unrecognized field "schemas" (class org.gluu.oxtrust.api.server.model.GluuPersonApi), not marked as ignorable I already try to remove the fields that it unrecognized. But the erro continues. I already loot at documentation and not found the response for this problem. Can you help me ?

By Jose Gonzalez staff 27 Aug 2021 at 2:54 p.m. CDT

Jose Gonzalez gravatar
Guilherme, SCIM endpoints are of the form: `/identity/restv1/scim/v2/...` They can be seen in the doc page you referenced. Swagger docs are [here]( in case they are familiar to you .

By Aliaksandr Samuseu staff 27 Aug 2021 at 2:55 p.m. CDT

Aliaksandr Samuseu gravatar
Hi, Guilherme. If you would like a suggestion: building up from simple to more complex usually helps a lot with learning new things. We have pretty good docs on SCIM, like [here]( it shows a simple JSON you can use to create an user. It works, I used it several times, so you could start from here, and then add the attributes you need one by one, testing user creation after each of them - until you'll find out which of them give you the trouble, or find what you were doing wrong perhaps. Hope this helps, feel free to create another ticket if you'll be stuck at some point again.