POST
Admin create landlord

Overview

Adds a landlord to the curated reference list so it appears in the onboarding landlord autocomplete. Use this to fill gaps the seed data missed, without redeploying.

Authentication

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

Request body

Response — 201 Created

Returns the created landlord row (id, name, type, active, createdAt, updatedAt). active defaults to true.

Error responses

Side effects

  • Inserts a row into the landlords collection.
  • Writes a landlord.created admin audit-log row.

See also

curl