update_tenant_state
Marks an Enterprise Manager tenant as Active or Inactive.
Format
Standard Mode
emcli update_tenant_state -name="tenant name" -active="true/false"
Interactive or Script Mode
emcli update_tenant_state( name="tenant name" ,-active="true/false" )
Options
-
name
The name of the tenant whose status is to be updated.
-
active
Sets the status of the tenant. The status "true" indicates an active state, and "false" indicates that the tenant is marked as inactive.
Exit Codes
0 if successful. A non-zero value indicates that verb processing was unsuccessful.
Example
The following example marks the status of my_tenant
as inactive.
emcli update_tenant_state -name="my_tenant" -active="false"