Help & Support
Follow

User Provisioning API: Update a User (PATCH)

Update a user

PATCH /Users/:id

Updates a user with the provided values. Values that are not included in the request are not modified.

Parameters

  • id - the id of the user

Example request body:

{
    "externalId": "ABC123",
    "userName": "demo@user.com",
    "name": {
        "familyName": "Demo",
        "givenName": "User"
    },
    "timezone": "America/Chicago",
    "active": true,
    "urn:scim:schemas:extension:leankit:user:1.0": {
        "licenseType": "full",
        "administrator": false,
        "boardCreator": false,
        "dateFormat": "yyyy/mm/dd"
    }
}

Deactivating a user

Example request body:

{
    "active": false
}

Returns

  • 200 OK with the updated user data as the body
  • 404 Not Found
  • 409 Conflict if the username is already in use by another user
Have more questions? Submit a request