API Search endpoints…⌘K

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

Path parameters

entityTypepath · string · required
entityIdpath · integer · int64 · required
documentIdpath · integer · int64 · required

Header parameters

Content-Lengthheader · integer · int64 · optional

Responses

200OK

Response fields

resourceIdinteger · int64 · optional
resourceIdentifierstring · optional

Every 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.