Add tenant create endpoint

This commit is contained in:
Jon Staab
2026-04-17 16:50:40 -07:00
committed by hodlbod
parent ca26d41eef
commit 0705da8b09
5 changed files with 63 additions and 26 deletions
+4
View File
@@ -205,6 +205,10 @@ export function getIdentity() {
return callApi<undefined, Identity>("GET", "/identity")
}
export function createTenant() {
return callApi<undefined, Tenant>("POST", "/tenants")
}
export function getPlan(id: string) {
return callApi<undefined, Plan>("GET", `/plans/${id}`)
}