88/461

## delete-http-listener

removes a network listener

Synopsis

    delete-http-listener [--help]
    [--target target]
    listener-id

Description

The `delete-http-listener` subcommand removes the specified network listener.

This subcommand is supported in remote mode only.

Options

`--help`
`-?`

  Displays the help text for the subcommand.

`--target`

  Deletes the network listener only from the specified target. Valid values are as follows:

  `server`

    Deletes the network listener from the default server instance. This is the default value.

  configuration-name

    Deletes the network listener from the specified configuration.

  cluster-name

    Deletes the network listener from all server instances in the specified cluster.

  standalone-instance-name

    Deletes the network listener from the specified standalone server instance.

Operands

listener-id

  The unique identifier for the network listener to be deleted.

Examples

Example 1 Using the delete-http-listener subcommand

  The following command deletes the network listener named `sampleListener`:

      asadmin> delete-http-listener sampleListener
      Command delete-http-listener executed successfully.

Exit Status

0

  command executed successfully

1

  error in executing the command

See Also

create-http-listener(1), list-http-listeners(1)

asadmin(1M)