The Tenants resource allows you to manage tenant-level settings for your Auth0 tenant. Currently, this resource provides access to tenant settings management.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/auth0/go-auth0/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The Tenants client in the Go SDK provides access to tenant configuration through nested resources:Tenant Settings
Tenant settings allow you to configure various tenant-level options. Access the settings through the Settings nested resource:Get Tenant Settings
Retrieve current tenant settings:Update Tenant Settings
Update tenant configuration:Common Tenant Settings
Typical tenant settings you can configure include:Session Management
Configure session lifetime, idle timeout, and other session-related settings.
Security
Set security policies including password requirements, MFA settings, and attack protection.
Branding
Customize tenant-level branding including logos, colors, and themes.
Features
Enable or disable various Auth0 features for your tenant.
Usage Example
Complete example of working with tenant settings:Nested Resources
The Tenants client provides access to:- Settings (
mgmt.Tenants.Settings) - Manage tenant-level configuration settings
Best Practices
Configuration as Code
Manage tenant settings through code for version control and reproducibility across environments.
Testing
Test setting changes in a development tenant before applying them to production.
Documentation
Document your tenant configuration decisions for team reference and compliance.
Backup
Retrieve and backup current settings before making changes to enable easy rollback if needed.
Important Considerations
Some tenant settings may require specific Auth0 plans or features to be enabled. Check your plan’s capabilities before attempting to configure advanced features.