Generic SCIM Endpoint - Update User

Last modified on September 7, 2022

The Update User endpoint updates the requested User in strongDM. If the requested update does not cause the User’s information to change, a 204 is returned.

Request

Endpoint

/provisioning/generic/v2/Users/<ID>

HTTP method

PATCH

Path variables

VariableDescriptionRequired?NotesExample
IDThe User IDRequiredReturns a 404 if the User ID is not found or if it matches a non-Usera-53fa578c61716688

Request body attributes

AttributeDescriptionExample
activeThe User’s status (Boolean). Set to false to suspend a User. This is the only field that can be updated for a User via this endpoint. Requests should be formatted as in the example."active": false

Example request

PATCH app.strongdm.com/provisioning/generic/v2/Users/a-7be349506171902f

{
        "schemas": ["urn:ietf:params:scim:api:messages:2.0:PatchOp"],
        "Operations": [{
                "op": "replace",
                "value": {
                        "active": true
                }
        }]
}

Response

Example response

(Status 200)
{
  "active": true,
  "displayName": "Firstname Lastname",
  "emails": [{ "primary": true, "value": "myUser@example.test" }],
  "groups": [],
  "id": "a-7be349506171902f",
  "meta": { "resourceType": "User", "location": "Users/a-7be349506171902f" },
  "name": {
    "familyName": "Lastname",
    "formatted": "Firstname Lastname",
    "givenName": "Firstname"
  },
  "schemas": ["urn:ietf:params:scim:schemas:core:2.0:User"],
  "userName": "myUser@example.test",
  "userType": "user"
}
Top