PreviousNext

Removing an Attribute

Use the dcecp modify command with the -remove option to remove an attribute from an object entity.

To remove an attribute, you must have write permission to the name whose attribute you are removing.

To remove an attribute, use the modify command with the -remove and -types options. For example, the following command removes the owner attribute from the /.:/admin directory:

dcecp> directory modify /.:/admin -remove owner -types
dcecp>

To remove a single value from a multivalued attribute, use the -remove option and specify the value to be removed. For example, the following command removes the carrots value of the vegetables attribute from the /.:/admin/garden object:

dcecp> object modify /.:/admin/garden -remove {vegetables carrots}
dcecp>