Attach server
Attach a server to a load balancer. This call can take longer than usual because the configuration file is changed on-demand on your server.
PATCH/api/servers/{server}/load-balancer/attach
Attach server
This endpoint allows you to attach a server to a load balancer.
Required parameters
- Name
server_id- Type
- integer
- Description
The ID of the server to attach to the load balancer.
Request
PATCH
/api/servers/{server}/load-balancer/attachcurl -X PATCH "https://ploi.io/api/servers/{server}/load-balancer/attach" \
-H "Authorization: Bearer {token}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"server_id": 1}'
Response
{
}