v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14159650798.5 KB

Detaches the specified instances from a Lightsail load balancer.

This operation waits until the instances are no longer needed before they are detached from the load balancer.

The detach instances from load balancer operation supports tag-based access control via resource tags applied to the resource identified by load balancer name. For more information, see the Amazon Lightsail Developer Guide.

post/#X-Amz-Target=Lightsail_20161128.DetachInstancesFromLoadBalancer

Headers

X-Amz-Target'Lightsail_20161128.DetachInstancesFromLoadBalancer' required

Request body

loadBalancerNamestring required

The name of the Lightsail load balancer.

instanceNamesResourceName[] required

An array of strings containing the names of the instances you want to detach from the load balancer.

Response

Success