Add Stacklets to a Load Balancer
- Name
post
- Type
- /v1/load_balancers
- Description
Send a
POST
request to assign a stacklets to a load balancer.
Request
Required Attibutes
- Name
stacklet_ids
- Type
- array
- Description
The stacklets ids which will be assigned to the load balancer.
Example
curl -X POST "https://api.simplystack.com/v1/load_balancers/21848c7e-0389-4fdf-95bf-7d4d58d62c22/stacklets" \
-H "Content-Type: application/json" \
-H "Authorization: Token d359ad9cc9422b5ff07aede0cd2707da4ff82be0" \
-d '{"stacklet_ids": [1,2]}'
Response
Example
json
{
"stacklet_ids": [1, 2]
}