Setting Features from CLI

Setting Features from CLI#

In this section we describe the syntax of commands to query of modify the availability of some Carbonio component at COS or account level via the CLI, and therefore is the counterpart of Carbonio Admin Panel sections COS / features and Domains / Accounts / Edit.

We use a few available attributes:

Attribute

Default

Feature Description

carbonioFeatureMailsAppEnabled

TRUE

The Mails component is available on mobile apps

carbonioFeatureFilesEnabled

TRUE

The Carbonio Files component is available

carbonioFeatureFilesAppEnabled

TRUE

The Carbonio Files component is available mobile apps

In order to modify these values, you can use or adapt the following commands

  • Check whether the Carbonio Files component is enabled in COS default.

    zextras$ carbonio prov getCos default carbonioFeatureFilesEnabled
    
    #name default
    carbonioFeatureFilesEnabled: TRUE
    
  • Disable the Mails App for account johnsmith@acme.example.

    zextras$ carbonio prov modifyAccount johnsmith@acme.example carbonioFeatureMailsAppEnabled FALSE