Update a document

PATCH {{baseUrl}}/documents/:id

Updates a document. >You can upload a maximum of 15 pages for photo IDs.

Request Body

{"type"=>"proofOfIndustry", "description"=>"Proof of industry doc for Example Company"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring
x-requested-verification-codenullUse the requested verification code 0_0001 to resolve any suberrors associated with the document. Requested verification codes can only be used in your test environment.

RESPONSES

status: OK

{"type":"proofOfIndustry","attachments":[{"content":"JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBv+f/ub0j6JPRX+E3EmC=="}],"description":"Proof of industry for Example Company","fileName":"Proof of industry for Example Company","owner":{"id":"LE00000000000000000000001","type":"legalEntity"},"id":"SE322JV223222F5GV2N9L8GDK"}