VPS
Toggle server protection
post
/vps/{vps_id}/protectionEnable or disable destruction protection on your server. When enabled, the server cannot be destroyed or reinstalled until protection is removed.
Authorization
Authorization
Authorization*string
Bearer YOUR_API_TOKEN with an API token. The X-API-Key: YOUR_API_TOKEN header works too.
Path parameters
vps_id*integer
Range
1 ≤ valueRequest body
application/jsonRequired
enabled*boolean
Set to true to enable protection, false to disable it.
Responses
Successful Response
application/json
detail*string
Human-readable confirmation message.