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/detach
Detach server
This endpoint allows you to detach a server from a load balancer.
Required parameters
- Name
server_id- Type
- integer
- Description
The ID of the server to detach from the load balancer.
Request
PATCH
/api/servers/{server}/load-balancer/detachcurl -X PATCH "https://ploi.io/api/servers/{server}/load-balancer/detach" \
-H "Authorization: Bearer {token}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"server_id": 1}'
Response
{
}