Menu
Elastic Load Balancing
API Reference (API Version 2015-12-01)

DeleteListener

Deletes the specified listener.

Alternatively, your listener is deleted when you delete the load balancer it is attached to using DeleteLoadBalancer.

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

ListenerArn

The Amazon Resource Name (ARN) of the listener.

Type: String

Required: Yes

Errors

For information about the errors that are common to all actions, see Common Errors.

ListenerNotFound

The specified listener does not exist.

HTTP Status Code: 400

Example

Delete a listener

This example deletes the specified listener.

Sample Request

https://elasticloadbalancing.amazonaws.com/?Action=DeleteListener &ListenerArn=arn:aws:elasticloadbalancing:ua-west-2:123456789012:listener/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2 &Version=2015-12-01 &AUTHPARAMS

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: