backup
or snapshot
Image) or it can be a completely fresh system
Image provided by us. You can get a list of all available Images with GET /images
.curl --location --request POST 'https://api.hetzner.cloud/v1/servers//actions/rebuild' \
--header 'Content-Type: application/json' \
--data-raw '{
"image": "ubuntu-20.04"
}'
{
"action": {
"command": "rebuild_server",
"error": {
"code": "action_failed",
"message": "Action failed"
},
"finished": null,
"id": 13,
"progress": 0,
"resources": [
{
"id": 42,
"type": "server"
}
],
"started": "2016-01-30T23:50:00.000Z",
"status": "running"
},
"root_password": null
}