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