By default, Doradus executes in single-tenant mode, hence all applications are owned by a single default tenant. In this case, REST commands do not need the
?tenant parameter described in the previous section, and tenant credentials are not used. Even when Doradus is configured to operate in multi-tenant mode, REST commands intended for applications belonging to the default tenant omit the
?tenant parameter and authentication credentials. (The default tenant
may be disabled in multi-tenant mode—see the
Doradus Administration documentation for details.)
The only commands that should not provide the ?tenant parameter in multi-tenant mode are
system commands, which are not directed to a specific tenant. These commands are used by administrators to create tenants and perform diagnostic operations. In multi-tenant mode, system commands must use basic authorization and provide
super user credentials. See the
Doradus Administration documentation for details.