Make tenant creation implicit

This commit is contained in:
Jon Staab
2026-03-27 11:16:07 -07:00
parent 6415bcd7b7
commit 72b7a8db45
9 changed files with 39 additions and 79 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ See [spec](spec) for more details
All routes are NIP-98 protected.
- `GET /identity` — get auth identity (`pubkey`, `is_admin`, `is_tenant`)
- `GET /identity` — get auth identity (`pubkey`, `is_admin`)
- `GET /tenants` — list tenants (admin)
- `POST /tenants` — create current auth pubkey as tenant
- `GET /tenants/:pubkey` — get tenant (admin or same tenant)