Update a Document
put
/public/v1/documents/{document}Rename a Document, or replace the Document Categories assigned to it after upload.
Send an empty categories array to remove every category from the Document.
Omit a field to leave it unchanged — null is not accepted for either.
name excludes the file extension, which is returned separately as file_extension.
documentstringrequiredThe document UUID
Body
application/jsonnamestringmax length 255categoriesobject[]max items 100▶Show 1 child attributesHide child attributes
idstringrequired
Response
200application/jsonDocumentResource
dataobjectrequired▶Show 5 child attributesHide child attributes
idstringrequiredExample:d1c2e3f4-a5b6-47c8-9d0e-1f2a3b4c5d6enamestringrequiredExample:Service Agreementfile_extensionstringrequiredExample:pdfcreated_atstringrequiredExample:2024-01-15T10:30:00+00:00categoriesobject[]required▶Show 2 child attributesHide child attributes
idstringrequiredExample:c4a5b6c7-d8e9-40f1-a2b3-c4d5e6f7a8b9namestringrequiredExample:Assessments
401Unauthenticated403Authorization error404Not found422Validation error