Revoke a consent
POSThttps://sandbox.api.lendeasy.ai/v1/customers/{customerId}/consents/{consentId}/revoke Bearer token ·
UPDATE_LMS_CUSTOMER_CONSENTRevokes 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
| Field | Type | Description |
|---|---|---|
| LendEasy-Tenant required in header | string | Tenant selector: lowercase letters, digits, and hyphens, 1-64 characters. Exactly one instance; the only tenant selector honored. |
| customerId required in path | string | Stable opaque customer identifier. |
| consentId required in path | string | Stable opaque consent identifier. |
| Idempotency-Key optional in header | string | Optional 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. |