SCIM Protocol Create User GET /Users with filtering

When user is assigned to the application , my SCIM test server responding the user is already present


{"Resources":[{"id":"GUID ID","userName":"h*****@*****.COM"}],"schemas":["urn:ietf:params:scim:api:messages:2.0:ListResponse"],"totalResults":"2","startIndex":"1","itemsPerPage":"1"}

still okta sends subsequent Post to /Users instead of PUT or PATCH
Reference ->

Hi @kiran.badgujar

In the response to the request coming from Okta, can you please modify totalResults, startindex and itemsPerPage to be integer values instead of string values? Also, can you please add "schemas": ["urn:ietf:params:scim:schemas:core:2.0:User"] in the resource value.

Here is a valid response example for a filter request coming to /Users endpoint from Okta:

    "Resources": [{
        "schemas": ["urn:ietf:params:scim:schemas:core:2.0:User"],
        "id": "310bedc5-c243-4b4b-b054-40df1d315821",
        "userName": "test.user@okta.local",
        "name": {
            "givenName": "Test",
            "middleName": "",
            "familyName": "User"
        "emails": [{
            "primary": true,
            "value": "test.user@okta.local",
            "type": "work",
            "display": "test.user@okta.local"
        "active": true,
        "groups": [],
        "meta": {
            "resourceType": "User",
    "itemsPerPage": 100,
    "schemas": ["urn:ietf:params:scim:api:messages:2.0:ListResponse"],
    "startIndex": 1,
    "totalResults": 1
1 Like

Thanks @dragos , works perfect