Baremetal

Toggle baremetal protection

post/baremetal/{baremetal_id}/protection

Enable or disable destruction protection on your baremetal server. When enabled, the operating system cannot be reinstalled until protection is removed.

Autorización

Authorization
Authorization*string

Bearer YOUR_API_TOKEN con un token de API. También vale la cabecera X-API-Key: YOUR_API_TOKEN.

Parámetros de ruta

baremetal_id*integer
Rango1 ≤ value

Cuerpo de la petición

application/jsonObligatorio
enabled*boolean

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

Respuestas

Successful Response

application/json

detail*string