LendEasy/DocsLMS + Servicing·v1
Start integrating
API ReferenceServicing PlaneWorkflow administrationReplace a draft definition

Replace a draft definition

PUThttps://sandbox.api.lendeasy.ai/v1/servicing/admin/workflow-definitions/{workflowKey}/versions/{versionNumber}ImplementedBearer token ·ADMIN_SERVICING_WORKFLOW_DEFINITION

Replaces the body of a DRAFT version after parsing and reference validation; only drafts can be edited. expectedVersion refuses the write when the row changed since it was read.

Path & query parameters

FieldTypeDescription
LendEasy-Tenant required in headerstringOpaque active LendEasy tenant-registry identifier. Supply exactly one instance; no alternate tenant selector is accepted.
workflowKey required in pathstringStable opaque workflowKey identifier.
versionNumber required in pathstringStable opaque versionNumber identifier.
Idempotency-Key optional in headerstringOptional replay key for this logical mutation. Omission creates a fresh server-owned key for this attempt; blank, repeated, or longer-than-50-character values are rejected.

Body parameters

FieldTypeDescription
definition requiredobject
schemaVersioninteger
stagesarray<object>
terminalOutcomesarray<object>
expectedVersion optionalinteger
reason requiredstring
Unified search across guides, recipes & the API referenceEsc