DELETEhttps://api.spotinst.io/loadBalancer/middleware/{MIDDLEWARE_ID}?accountId={ACCOUNT_ID}
Delete an existing middleware
Parameter | Type | Description |
---|---|---|
MIDDLEWARE_ID * |
String |
The middleware id you want to delete
Example:
mw-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
{ "status": { "code": 200, "message": "OK" } }