delete-http-redirect
Removes an HTTP redirect.
Description
The delete-http-redirect
subcommand removes the specified HTTP redirect. This subcommand is supported in remote mode only.
Options
- asadmin-options
-
Options for the
asadmin
utility. For information about these options, see theasadmin
help page. --help
-?
-
Displays the help text for the subcommand.
--target
-
Deletes the HTTP redirect only from the specified target. Valid values are as follows:
server
-
Deletes the HTTP redirect from the default server instance. This is the default value.
- configuration-name
-
Deletes the HTTP redirect from the specified configuration.
- cluster-name
-
Deletes the HTTP redirect from all server instances in the specified cluster.
- standalone-instance-name
-
Deletes the HTTP redirect from the specified standalone server instance.
Operands
- protocol-name
-
The name of the associated protocol.
Example 1 Deleting a HTTP Redirect
The following command deletes the HTTP redirect named http-redirect
:
asadmin> delete-http-redirect http-redirect
Command delete-http-redirect executed successfully.