How to remove a schema from the system

There may be situations where you would want to clean up unused schemas or disable a specific table. The script below will remove a schema from your system. Substitute a specific namespace and table name.

In a console, run:

ss=com.illumon.iris.db.schema.SchemaServiceFactory.getDefault()
ss.deleteSchema("Namespace", "Table")