Skip to main content
PUT
/
api
/
spaces
/
coworkeridentitychecks
{
  "Status": 123,
  "Message": "<string>",
  "Value": "<any>",
  "WasSuccessful": true,
  "Errors": [
    {
      "AttemptedValue": "<any>",
      "Message": "<string>",
      "PropertyName": "<string>"
    }
  ]
}
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

ValueName
0None
1Manual
2StripeIdentity
ValueName
0None
1Passport
2DriversLicense
3IdCard
4UniformedServiceId
5CertificateOfNaturalization
6AccessCard
7MatriculaConsular
8ResidentCard
9UniversityId
10NEXUSCard
99Other
ValueName
0None
1Passport
2DriversLicense
3IdCard
4LeaseRentalAgreement
5InsurancePolicy
6Mortgage
7VehicleRegistrationCard
8VoterCard
99Other
ValueName
0None
1IdDocument
2Address
ValueName
0None
1Pending
2Submitted
3Successful
4Failed
5Cancelled

Request Body

Required Fields

Id
integer
required
The Id of the CoworkerIdentityCheck record to update.
BusinessId
integer
required
Business Id.
CoworkerId
integer
required
Coworker Id.
Name
string
required
Display name for this verification check.

Optional Fields

IdentityCheckProvider
integer
How the check is performed: Manual (operator review) or StripeIdentity (Stripe-delegated). See eIdentityCheckProvider enum above.
IdentityDocumentType
integer
Type of identity document used when VerificationType is IdDocument. See eIdentityCheckDocumentType enum above.
IdentityDocumentNumber
string
Number or identifier on the identity document.
IdentityDocumentIssuedBy
string
Authority or organisation that issued the identity document.
IdentityDocumentExpirationDate
string
Expiration date of the identity document.
AddressDocumentType
integer
Type of address document used when VerificationType is Address. See eAddressCheckDocumentType enum above.
Description
string
Free-text notes or details about this check.
Billed
boolean
Billed.
StripeVerificationSessionId
string
Stripe Verification Session Id.
IdentityCheckProvider1
integer
Identity Check Provider1. See eIdentityCheckProvider? enum above.
VerificationType1
integer
Verification Type1. See eIdVerificationType? enum above.
Description1
string
Description1.
IdentityCheckProvider2
integer
Identity Check Provider2. See eIdentityCheckProvider? enum above.
VerificationType2
integer
Verification Type2. See eIdVerificationType? enum above.
Description2
string
Description2.

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

Status
integer
HTTP status code. 200 on success.
Message
string
A human-readable message confirming the update.
Value
object
Contains the Id of the updated record.
WasSuccessful
boolean
true if the coworkeridentitycheck was updated successfully.
Errors
array
null on success.
Example Response
{
  "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

Message
string
A summary of the validation error(s), in the format PropertyName: error message.
Value
any
null on validation failure.
Errors
object[]
Array of validation errors.
WasSuccessful
boolean
false when the request fails validation.
Example Response
{
  "Message": "Name: is a required field",
  "Value": null,
  "Errors": [
    {
      "AttemptedValue": null,
      "Message": "is a required field",
      "PropertyName": "Name"
    }
  ],
  "WasSuccessful": false
}