Update workforce member
Update a workforce member profile, role, department, or compliance metadata used for people-security controls.
Path parameters
Member ID
Request body
Example request
{
"userId": "usr_abc123def456",
"role": "admin",
"department": "it",
"fleetDmLabelId": 123,
"jobTitle": "Software Engineer",
"name": "John Doe",
"email": "john@example.com",
"createdAt": "2024-01-15T00:00:00.000Z",
"backgroundCheckExemptReason": "other",
"backgroundCheckExemptJustification": "Contractor with existing background check on file from staffing agency."
}Response
Member updated successfully
Example response
{
"id": "mem_abc123def456",
"organizationId": "org_abc123def456",
"userId": "usr_abc123def456",
"role": "admin",
"createdAt": "2024-01-01T00:00:00Z",
"department": "it",
"isActive": true,
"user": {
"id": "usr_abc123def456",
"name": "John Doe",
"email": "john.doe@company.com",
"emailVerified": true,
"createdAt": "2024-01-01T00:00:00Z",
"updatedAt": "2024-01-15T00:00:00Z"
},
"backgroundCheckRequests": [
{
"id": "bcr_abc123def456",
"status": "invited"
}
]
}Changes
Changed in 8 of the 51 revisions of this API.1314
- ○
added the new optional request property
backgroundCheckExemptJustificationnew-optional-request-property
- ○
added the new optional request property
backgroundCheckExemptReasonnew-optional-request-property
- ○
- ●
removed the request property
backgroundCheckExemptJustificationrequest-property-removed
- ●
removed the request property
backgroundCheckExemptReasonrequest-property-removed
- ○
added the new optional request property
offboardDatenew-optional-request-property
- ○
added the new optional request property
onboardDatenew-optional-request-property
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ○
added the new optional request property
backgroundCheckExemptJustificationnew-optional-request-property
- ○
added the new optional request property
backgroundCheckExemptReasonnew-optional-request-property
- ○
- ○
added the new optional request property
backgroundCheckExemptnew-optional-request-property
- ○
- ○
added the optional property
backgroundCheckRequeststo the response with the200statusresponse-optional-property-added
- ○
- ○
added the required property
deactivatedto the response with the200statusresponse-required-property-added
- ○
- ▲
removed the required property
user/allOf[UserResponseDto]/isPlatformAdminfrom the response with the200statusresponse-required-property-removed
- ○
added the required property
user/allOf[UserResponseDto]/roleto the response with the200statusresponse-required-property-added
- ▲
- ●
deleted the
headerrequest parameterX-Organization-Idrequest-parameter-removed
- ○
added the new optional request property
createdAtnew-optional-request-property
- ○
added the new optional request property
emailnew-optional-request-property
- ○
added the new optional request property
namenew-optional-request-property
- ○
added the required property
user/allOf[UserResponseDto]/isPlatformAdminto the response with the200statusresponse-required-property-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●