Ploi API
Ploi API

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

Example request:

curl -X PATCH "https://ploi.io/api/servers/{server}/load-balancer/attach" \
-H "Authorization: Bearer {token}" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
   --data '{ 
         "server_id": 1, 
    }'

Example response:

HTTP/1.1 200 ok
Content-Type: application/json

{
}