Updates an existing CoworkerIdentityCheck record. You must include the Id of the record to update along with all required fields.
Authentication
This endpoint requires OAuth2 authentication. Include a valid bearer token in the Authorization header.
The authenticated user must be a full unrestricted administrator or have the CoworkerIdentityCheck-Edit role.
Enums
eIdentityCheckProvider — IdentityCheckProvider values
Value Name 0 None 1 Manual 2 StripeIdentity
eIdentityCheckDocumentType — IdentityDocumentType values
Value Name 0 None 1 Passport 2 DriversLicense 3 IdCard 4 UniformedServiceId 5 CertificateOfNaturalization 6 AccessCard 7 MatriculaConsular 8 ResidentCard 9 UniversityId 10 NEXUSCard 99 Other
eAddressCheckDocumentType — AddressDocumentType values
Value Name 0 None 1 Passport 2 DriversLicense 3 IdCard 4 LeaseRentalAgreement 5 InsurancePolicy 6 Mortgage 7 VehicleRegistrationCard 8 VoterCard 99 Other
eIdVerificationType — VerificationType values
Value Name 0 None 1 IdDocument 2 Address
eIdVerificationStatus — VerificationStatus values
Value Name 0 None 1 Pending 2 Submitted 3 Successful 4 Failed 5 Cancelled
Request Body
Required Fields
The Id of the CoworkerIdentityCheck record to update.
Display name for this verification check.
Optional Fields
How the check is performed: Manual (operator review) or StripeIdentity (Stripe-delegated). See eIdentityCheckProvider enum above.
Type of identity document used when VerificationType is IdDocument. See eIdentityCheckDocumentType enum above.
Number or identifier on the identity document.
Authority or organisation that issued the identity document.
IdentityDocumentExpirationDate
Expiration date of the identity document.
Type of address document used when VerificationType is Address. See eAddressCheckDocumentType enum above.
Free-text notes or details about this check.
StripeVerificationSessionId
Stripe Verification Session Id.
Identity Check Provider1. See eIdentityCheckProvider? enum above.
Verification Type1. See eIdVerificationType? enum above.
Identity Check Provider2. See eIdentityCheckProvider? enum above.
Verification Type2. See eIdVerificationType? enum above.
Code Examples
curl -X PUT \
"https://spaces.nexudus.com/api/spaces/coworkeridentitychecks" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"BusinessId": 0,
"CoworkerId": 0,
"Name": "",
"Id": 87654321
}'
Response
200
HTTP status code. 200 on success.
A human-readable message confirming the update.
Contains the Id of the updated record.
true if the coworkeridentitycheck was updated successfully.
{
"Status" : 200 ,
"Message" : "CoworkerIdentityCheck was successfully updated." ,
"Value" : {
"Id" : 87654321
},
"OpenInDialog" : false ,
"OpenInWindow" : false ,
"RedirectURL" : null ,
"JavaScript" : null ,
"UpdatedOn" : "2025-01-15T10:30:00Z" ,
"UpdatedBy" : "admin@example.com" ,
"Errors" : null ,
"WasSuccessful" : true
}
400
A summary of the validation error(s), in the format PropertyName: error message.
null on validation failure.
Array of validation errors. The value that was submitted for the field, or null if missing.
The validation error message.
The name of the property that failed validation.
false when the request fails validation.
{
"Message" : "Name: is a required field" ,
"Value" : null ,
"Errors" : [
{
"AttemptedValue" : null ,
"Message" : "is a required field" ,
"PropertyName" : "Name"
}
],
"WasSuccessful" : false
}