curl --location --request POST 'https://api.hetzner.cloud/v1/volumes//actions/change_protection' \
--header 'Content-Type: application/json' \
--data-raw '{
"delete": true
}'
{
"action": {
"command": "change_protection",
"error": {
"code": "action_failed",
"message": "Action failed"
},
"finished": "2016-01-30T23:56:00.000Z",
"id": 13,
"progress": 100,
"resources": [
{
"id": 42,
"type": "server"
},
{
"id": 554,
"type": "volume"
}
],
"started": "2016-01-30T23:55:00.000Z",
"status": "success"
}
}