LendEasy/Docs
Get API keys
API ReferenceLMS APIDocumentsUpdate document metadata

Update document metadata

PUThttps://sandbox.api.lendeasy.ai/v1/documents/{documentId} Bearer token · UPDATE_LMS_DOCUMENT

Updates title, description, or the sensitive flag. Content, origin, and checksum are immutable; replacement content is a new document that supersedes this one.

Path & query parameters

FieldTypeDescription
LendEasy-Tenant required in headerstringTenant selector: lowercase letters, digits, and hyphens, 1-64 characters. Exactly one instance; the only tenant selector honored.
documentId required in pathstringStable opaque document identifier.
Idempotency-Key optional in headerstringOptional stable key (1-50 chars) for this one logical mutation. Replays of a completed request return the original result with x-served-from-cache: true; an in-flight duplicate returns 409 with Retry-After. Omitted keys are server-generated per attempt.

Body parameters

FieldTypeDescription
title requiredstring
sensitive requiredboolean
Unified search across guides, recipes & the API referenceEsc