Reference > API > Tenancy
Tenancy
Tenancy context and tenant management
- What use cases are available in
webiny/api/tenancy? - How to import and use each exported item?
Overview
This page documents everything exported from webiny/api/tenancy. Import any of the items below directly from this path in your Webiny extensions.
Use Cases
CreateTenantRepository
Use Case Abstraction — imported from webiny/api/tenancy
Interface CreateTenantRepository.Interface:
Types:
Usage:
CreateTenantUseCase
Use Case Abstraction — imported from webiny/api/tenancy
Interface CreateTenantUseCase.Interface:
Types:
Usage:
DeleteTenantRepository
Use Case Abstraction — imported from webiny/api/tenancy
Interface DeleteTenantRepository.Interface:
Types:
Usage:
DeleteTenantUseCase
Use Case Abstraction — imported from webiny/api/tenancy
Interface DeleteTenantUseCase.Interface:
Types:
Usage:
GetTenantByIdUseCase
Use Case Abstraction — imported from webiny/api/tenancy
Interface GetTenantByIdUseCase.Interface:
Types:
Usage:
InstallTenantUseCase
Use Case Abstraction — imported from webiny/api/tenancy
Interface InstallTenantUseCase.Interface:
Types:
Usage:
UpdateTenantRepository
Use Case Abstraction — imported from webiny/api/tenancy
Interface UpdateTenantRepository.Interface:
Types:
Usage:
UpdateTenantUseCase
Use Case Abstraction — imported from webiny/api/tenancy
Interface UpdateTenantUseCase.Interface:
Types:
Usage:
Event Handlers
TenantAfterCreateHandler
Event Handler Abstraction — imported from webiny/api/tenancy
Interface TenantAfterCreateHandler.Interface:
Types:
Usage:
TenantAfterDeleteHandler
Event Handler Abstraction — imported from webiny/api/tenancy
Interface TenantAfterDeleteHandler.Interface:
Types:
Usage:
TenantAfterUpdateHandler
Event Handler Abstraction — imported from webiny/api/tenancy
Interface TenantAfterUpdateHandler.Interface:
Types:
Usage:
TenantBeforeCreateHandler
Event Handler Abstraction — imported from webiny/api/tenancy
Interface TenantBeforeCreateHandler.Interface:
Types:
Usage:
TenantBeforeDeleteHandler
Event Handler Abstraction — imported from webiny/api/tenancy
Interface TenantBeforeDeleteHandler.Interface:
Types:
Usage:
TenantBeforeUpdateHandler
Event Handler Abstraction — imported from webiny/api/tenancy
Interface TenantBeforeUpdateHandler.Interface:
Types:
Usage:
TenantInstalledHandler
Event Handler Abstraction — imported from webiny/api/tenancy
Interface TenantInstalledHandler.Interface:
Types:
Usage:
Services
AppInstaller
Abstraction — imported from webiny/api/tenancy
Interface AppInstaller.Interface:
Types:
Usage:
TenantContext
Abstraction — imported from webiny/api/tenancy
Interface TenantContext.Interface:
Types:
Usage: