Function fusionauth_rust_client::apis::default_api::create_tenant
source · pub async fn create_tenant(
configuration: &Configuration,
x_fusion_auth_tenant_id: Option<&str>,
tenant_request: Option<TenantRequest>
) -> Result<TenantResponse, Error<CreateTenantError>>
Expand description
Creates a tenant. You can optionally specify an Id for the tenant, if not provided one will be generated.