Update a Document
PUT
/lokta-lms/api/v1/{entityType}/{entityId}/documents/{documentId}Note: A document is updated using a Multi-part form upload
Body Parts
- name: name or summary of the document
- description: description of the document
- file: the file to be uploaded
- documentCategory: label of a DocumentCategory code value offered for this entity type
- documentTag: label of a DocumentTags code value offered under that category
Classification follows the same rules as on create. Omitting both leaves the document filed where it already
was; sending a documentCategory refiles it, and sending a documentCategory without a documentTag clears the
tag.
Path parameters
entityTypepath · string · requiredentityIdpath · integer · int64 · requireddocumentIdpath · integer · int64 · requiredHeader parameters
Content-Lengthheader · integer · int64 · optionalResponses
200OKResponse fields
resourceIdinteger · int64 · optionalresourceIdentifierstring · optionalEvery request authenticates with HTTP Basic and carries a Tenant-Identifier header. See the conventions for dates, commands, pagination and errors.
Open this operation in the interactive explorer, or read it as Markdown.
This is the API reference for Lokta, the agentic loan servicing platform. Go to lokta.ai