Change whether a server has DDoS protection.

post/servers/{id}/protection

Request

  • Base URL
    https://app.bitlaunch.io/api
  • URL
    https://app.bitlaunch.io/api/servers/{id}/protection
  • Auth
    API key in header Authorization

Path parameters

idstring required

The id of the server to change protection on.

Request body

enableboolean required

Set true to enable protection. Set false to disable protection.

regionstring required

The DDoS prevention server to use ("bvm-lux" is currently only one available). When disabling set region to "".

Response

200

Changes