LendEasy/Docs
Get API keys
API ReferenceLMS APIConsentsRevoke a consent

Revoke a consent

POSThttps://sandbox.api.lendeasy.ai/v1/customers/{customerId}/consents/{consentId}/revoke Bearer token · UPDATE_LMS_CUSTOMER_CONSENT

Revokes the consent with no request body; the server derives the effective time. The original grant and its evidence remain immutable in history.

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.
customerId required in pathstringStable opaque customer identifier.
consentId required in pathstringStable opaque consent 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.
Unified search across guides, recipes & the API referenceEsc