Skip to main content
POST
/
user-resource
/
vm
/
rebuild
Rebuild from Replica
curl --request POST \
  --url https://api.tenbytecloud.com/v1/user-resource/vm/rebuild \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --header 'apikey: <api-key>' \
  --data 'uuid=<string>' \
  --data 'replica_uuid=<string>'
{
  "name": "web-server",
  "status": "stopped",
  "uuid": "5aea1842-895f-4bd3-8bd6-e37b2282fb46"
}

Authorizations

apikey
string
header
required

Body

application/x-www-form-urlencoded
uuid
string
replica_uuid
string

Response

200 - application/json

Rebuilt VM

The response is of type object.