Suspend and unsuspend
Stop a customer using a server, for example while an invoice is unpaid.
Suspend
POST/api/application/servers/{externalId}/suspend
Stops the server and blocks the owner and members from starting it, changing its files or connecting over SFTP. The files are kept.
curl -X POST https://panel.example.com/api/application/servers/whmcs-1042/suspend \
-H "Authorization: Bearer bpnl_..."Unsuspend
DELETE/api/application/servers/{externalId}/suspend
Lifts the suspension. The server stays stopped until its owner starts it.
curl -X DELETE https://panel.example.com/api/application/servers/whmcs-1042/suspend \
-H "Authorization: Bearer bpnl_..."Both return 200 OK with the updated server object. Suspending a suspended server, or unsuspending one that isn't, changes nothing and still returns 200.