PATCH
Admin update landlord

Overview

Activates or deactivates a landlord. Deactivated landlords disappear from the onboarding landlord autocomplete, but existing tenancy_verifications rows keep their denormalised landlordName, so historical submissions are unaffected. Deactivation is preferred over deletion to preserve referential history.

Authentication

Bearer <accessToken> with scope: 'admin' required (requireAdmin).
Role-gated to SUPER and MODERATOR. FINANCE is read-only on the landlords surface.

Path parameters

Request body

Response — 200 OK

Returns the updated landlord row.

Error responses

Side effects

  • Updates landlords.active.
  • Writes a landlord.activated or landlord.deactivated admin audit-log row.

See also

curl