Log In

Update a User Record

put/public/v1/user-records/{userRecord}

Accepts documents as temporary upload ids, to attach a replacement document when a certificate is reissued.

  • Authorizationstringrequired

    Bearer authentication header of the form Bearer <token>, where <token> is your API key. See How to set up an API key.

  • userRecordstringrequired

    The user record UUID

Body

application/json
  • issue_datestring<date>required
  • expiry_datestring<date>
  • referencestring | nullmax length 255
  • documentsobject[] | nullmin items 1max items 20
    ▶Show 1 child attributes
    • idstringrequired

Response

200application/json

UserRecordResource

  • dataobjectrequired
    ▶Show 15 child attributes
    • idstringrequired
      Example:r1a2b3c4-d5e6-47f8-9a0b-1c2d3e4f5a6b
    • namestring | nullrequired
      Example:Working with Children Check
    • referencestring | nullrequired
      Example:REF-67890
    • statusenum<string>required
      Available options:archivedawaiting-verificationcurrentdeclinedexpiredmissing
    • signature_statusenum<string>required
      Available options:awaiting_signaturesnot_requirednot_sentsigned
    • issue_datestring | nullrequired
      Example:2024-01-15T00:00:00+00:00
    • expiry_datestring | nullrequired
      Example:2025-01-15T00:00:00+00:00
    • created_atstringrequired
      Example:2024-01-15T10:30:00+00:00
    • verified_atstring | nullrequired
      Example:2024-01-16T09:00:00+00:00
    • declined_atstring | nullrequired
      Example:2024-01-16T09:00:00+00:00
    • decline_reasonstring | nullrequired
      Example:The uploaded document is illegible.
    • userobjectrequired
      ▶Show 2 child attributes
      • idstringrequired
        Example:u1a2b3c4-d5e6-47f8-9a0b-1c2d3e4f5a6b
      • full_namestringrequired
        Example:Jane Smith
    • record_typeobjectrequired
      ▶Show 2 child attributes
      • idstringrequired
        Example:rt1a2b3c-d4e5-6f7a-8b9c-0d1e2f3a4b5c
      • namestringrequired
        Example:Working with Children Check
    • verified_byobject | nullrequired
      ▶Show 2 child attributes
      • idstringrequired
        Example:u1a2b3c4-d5e6-47f8-9a0b-1c2d3e4f5a6b
      • full_namestringrequired
        Example:Jane Smith
    • declined_byobject | nullrequired
      ▶Show 2 child attributes
      • idstringrequired
        Example:u1a2b3c4-d5e6-47f8-9a0b-1c2d3e4f5a6b
      • full_namestringrequired
        Example:Jane Smith
  • 401Unauthenticated
  • 403Authorization error
  • 404Not found
  • 422Validation error