Ploi API
Ploi API

Detach server

Detach a server from 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/detach" \
-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

{
}