PATCH
/
v1
/
person
/
{personId}
/
document
/
{documentId}
curl --request PATCH \
  --url https://qa-api.sbx.solidfi.com/v1/person/{personId}/document/{documentId} \
  --header 'Content-Type: application/json' \
  --data '{
  "description": "CA license",
  "docType": "drivingLicense",
  "documentNumber": "D123456789",
  "expirationDate": "2025-09-08",
  "issuingCountry": "US",
  "issuingState": "CA",
  "name": "Drivers License"
}'
{
  "createdAt": "2023-11-20T07:07:11Z",
  "description": "CA license",
  "docType": "drivingLicense",
  "documentNumber": "D123456789",
  "expirationDate": "2025-09-08",
  "id": "doc-dcb02cc2-84e0-442e-bba8-180c831de552",
  "issuingCountry": "US",
  "issuingState": "CA",
  "modifiedAt": "2023-11-20T07:09:20Z",
  "name": "Drivers License",
  "personId": "per-e6553324-1db8-49a8-a0d3-29132280b838",
  "status": "active",
  "url": ""
}

Headers

sd-api-key
string
Example:

"{{sd-api-key}}"

sd-person-id
string
Example:

"{{sd-person-id}}"

Path Parameters

personId
string
required
documentId
string
required

Body

application/json

Response

200 - application/json
Update a Document

The response is of type object.