SCIM 2.0

Replace a user

Rewrites name, e-mail, department, phone and active.

PUT/api/scim/v2/Users/{id}

Authorization

Authorizationheaderrequired
SCIM key (Settings → Apps → SCIM).

Path parameters

idstringrequired
User id.
Request
curl -X PUT https://ornek.solk.app/api/scim/v2/Users/2 \
  -H "Authorization: Bearer $SCIM_TOKEN" \
  -H "Content-Type: application/scim+json" \
  -d '{
  "schemas": [
    "urn:ietf:params:scim:schemas:core:2.0:User"
  ],
  "userName": "ayse.demir@ornekkimya.com.tr",
  "name": {
    "givenName": "Ayşe",
    "familyName": "Demir Kaya"
  },
  "active": true
}'
Response
{
  "schemas": [
    "urn:ietf:params:scim:schemas:core:2.0:User",
    "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User"
  ],
  "id": "2",
  "userName": "ayse.demir@ornekkimya.com.tr",
  "displayName": "Ayşe Demir Kaya",
  "name": {
    "formatted": "Ayşe Demir Kaya",
    "givenName": "Ayşe Demir",
    "familyName": "Kaya"
  },
  "active": true,
  "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User": {
    "department": ""
  },
  "meta": {
    "resourceType": "User",
    "location": "https://ornek.solk.app/api/scim/v2/Users/2"
  },
  "emails": [
    {
      "value": "ayse.demir@ornekkimya.com.tr",
      "type": "work",
      "primary": true
    }
  ]
}

Example responses were captured from a v22 installation running sample data; lists are shortened to two items.