DewaVPS

Clone instance

POST
/instance/{instance_uuid}/clone

Clone an existing instance to a new instance.

Authorization

ApiKeyAuth
x-apikey<token>

In: header

Path Parameters

instance_uuid*string

UUID of the instance to clone

Formatuuid

Request Body

application/x-www-form-urlencoded

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://api.dewavps.com/v1/instance/497f6eca-6276-4993-bfeb-53cbbbba6f08/clone" \  -H "Content-Type: application/x-www-form-urlencoded" \  -d 'hostname=string'
{
  "message": "Instance is on cloning progress",
  "data": {
    "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f"
  }
}