RemoveClass =========== Remove one empty node or customer connection category. Requires ``objects.delete`` permission. .. include:: metadata_targets.rst The category must have no live objects, indexes, or aggregate definitions. Node categories must also have no dependent customer connection categories, even if those are empty. Remove the dependent indexes/categories explicitly; this command never deletes objects. After removal commits, the numeric category ID can be reused by a later class. A reused node category may have another node type. New object birth transactions keep old ``_uniqueid`` values from selecting replacement objects, while existing readers retain their original category snapshot. .. code-block:: json [{"RemoveClass":{"target":"image","class":"Pictures"}}] Success returns ``status: 0``. Nonempty categories, dependent indexes/categories and invalid selectors fail the transaction.