refactor(operator): remove tenant creation (tenants are partner-owned)

Tenants always belong to a partner, so the operator must not create orphan (partnerless) tenants. Remove the NewTenantModal component, the POST /api/tenants proxy route, and the New-tenant button/modal from the tenants page. Tenant creation now happens only via the partner portal wizard (which forces partnerId).
This commit is contained in:
Ronni Baslund
2026-05-30 08:29:40 +02:00
parent 69197e11ae
commit 9c65a65bcd
3 changed files with 0 additions and 287 deletions
@@ -1,6 +0,0 @@
import { platformApi } from '~~/server/utils/platform-api'
export default defineEventHandler(async (event) => {
const body = await readBody(event)
return platformApi(event, '/tenants', { method: 'POST', body })
})