LendEasy/Docs
Get API keys
API ReferenceLMS APIFormsReplace the working draft

Replace the working draft

PUThttps://sandbox.api.lendeasy.ai/v1/form-definitions/{formKey}/draft Bearer token · ADMIN_LMS_FORM_DEFINITION

Replaces the definition’s single mutable draft in place. Drafts do not affect entries until published.

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.
formKey required in pathstringStable opaque formKey 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
name requiredstring
schema requiredobject
sectionsarray<object>
Unified search across guides, recipes & the API referenceEsc