delete-cache-rule

Syntax

tadm delete-cache-rule common_options --config=config_name --vs=vs_name cache_rule_name

Description

Use this command to delete a cache rule.

Options

For information about common_options, run the help command.

--config|-c

Specify the name of the configuration for which you want to delete a cache rule.

--vs|-s

Specify the virtual server.

Operands

cache-rule-name

Specify the cache rule name.

Example

tadm delete-cache-rule --user=admin --password-file=./admin.passwd --host=admin.example.com --port=8989 --no-prompt 
--config=www.example.org --vs=soa.example.org 
cache-rule-1

Exit Codes

The following exit values are returned:

0: command executed successfully

>0: error in executing the command

For more information about exit codes and syntax notations, run the help command.

See Also

help, create-cache-rule, list-cache-rules