LendEasy/DocsLMS + Servicing·v1
Start integrating
API ReferenceServicing PlaneWorkflow administrationDiscard a draft version

Discard a draft version

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

Discards a DRAFT version that will not be promoted. expectedVersion refuses the discard 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
expectedVersion optionalinteger
reason requiredstring
Unified search across guides, recipes & the API referenceEsc