PUThttps://api.spotinst.io/loadBalancer/listener/{LISTENER_ID}?accountId={ACCOUNT_ID}
Update one or more parameters in your listeners. Only the specified fields will be affected. For a full list of parameters you can update please checkout Listener/Create documentation
Parameter | Type | Description |
---|---|---|
LISTENER_ID * | String | The listener id you want to update Example: ls-12345 |
ACCOUNT_ID | String | Account ID from Spotinst console Example: act-12345 |
Request - Update Port
Headers
{ "Content-Type": "application/json", "Authorization": "Bearer ${token}" }
Body
{ "listener": { "port": "8080" } }
Response - 200
Headers
{ "Content-Type": "application/json" }
Body
{ "status": { "code": 200, "message": "OK" } }