fbpx
DELETEhttps://api.spotinst.io/loadBalancer/listener/{LISTENER_ID}?accountId={ACCOUNT_ID}

Delete an existing listener

Parameter Type Description
LISTENER_ID * String

LISTENER_ID

Example: ls-12345
ACCOUNT_ID String

Account ID from Spotinst console

Example: act-12345
Request

Headers
{
  "Content-Type": "application/json",
  "Authorization": "Bearer ${token}"
}
Response - 200

Headers
{
  "Content-Type": "application/json"
}
Body
Copied!
Downloaded!
{
  "status": {
    "code": 200,
    "message": "OK"
  }
}