Previous Topic: ExampleNext Topic: Example


removePolicyFromConfig—Remove Policies from Configurations

This action removes policies from the specified configurations.

This action has the following format:

comconf action=removePolicyFromConfig
confId=configuration_identifier
{{policies=(policy_name, policy_type)}
confId

Specifies the identifier of a configuration from which the specified policies will be removed from.

policies

Name and types of the policies to be removed from the specified configuration.

The action reports success and failure of this action for the addressed configuration in the following way on stdout:

Configuration «configuration name», «configuration identifier»
Policy removed: «policy name», «policy type», «policy identifier»
Policy failed: «policy name», «policy type», «policy identifier», «error code», «error message»