Create the current tenant resource when missing.
Changed onEnsures a Tenant custom resource exists for the bearer token's active Better Auth organization. The request returns immediately with the current bootstrap state and does not wait for the tenant to become ready.
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/tenant
- Auth: HTTP bearer
Response
Tenant exists and current bootstrap state is returned.
Changes
- breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking
- breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status
- breaking