Multi-Tenant Configuration : Managing Tenants : Modify Tenant

Modify Tenant
An existing tenant can be modified via the following REST command:
PUT /_tenants/{tenant}
Where {tenant} is the tenant name. All changes are allowed including adding, modifying, and deleting properties, options, and users. (However, the value of the _CreatedOn property cannot be changed.) The command must include an XML or JSON document with the same format used to create a tenant. The tenant document is interpreted as follows:
The _CreatedOn property cannot be deleted.
If the ReplicationFactor option is deleted, the keyspace’s replication factor is not modified.
If the ReplicationFactor option is modified, the keyspace’s replication factor modified accordingly. This action should be followed by the administrative command “nodetool repair <keyspace>” to redistribute data according to the keyspace’s new replication factor.
Example:
{"HelloKitty": {
"options": {"ReplicationFactor": "3"},
"properties": {"Owner_Organiztion": "Cats, Inc."},
"users": {
"Asparagus": {"permissions": "APPEND"},
"Skimbleshanks": {"permissions": "READ"},
"Katniss": {"password": "MockingJay", "permissions": "ALL"},
"Rumpleteazer": {"password": "Mongojerrie"}
}
}}
In this example, the password for user Katniss is modified and a new user Rumpleteazer is added.