Generic SCIM Endpoint - Update User
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
Variable | Description | Required? | Notes | Example |
---|---|---|---|---|
ID | The User ID | Required | Returns a 404 if the User ID is not found or if it matches a non-User | a-53fa578c61716688 |
Request body attributes
Attribute | Description | Example |
---|---|---|
active | The 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
PUT 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"}