Skip to main content

Instance

Instances are the virtual machines you launch, operate and scale. This is the core compute resource.

Resource base path: /restapi/instance

MethodPathDescription
POST/restapi/instance/createInstanceCreate Instance
GET/restapi/instance/instanceListInstance List
GET/restapi/instance/vmStatusVM Status
GET/restapi/instance/startInstanceStart Instance
GET/restapi/instance/stopInstanceStop Instance
GET/restapi/instance/resizeVmResize VM Instance
GET/restapi/instance/recoverVmRecover VM Instance
GET/restapi/instance/destroyInstanceDestroy Instance
PUT/restapi/instance/updateInstanceNameUpdate Instance Name
GET/restapi/instance/instanceNetworkListInstance Network List
POST/restapi/instance/attachNetworkAttach Network to Instance
POST/restapi/instance/detachNetworkDetach Network from Instance
GET/restapi/instance/attachIsoAttach ISO to Instance
GET/restapi/instance/detachIsoDetach ISO
GET/restapi/instance/resetSSHkeyReset Instance SSH Key
GET/restapi/instance/instancePasswordListInstance Password List
note

apikey and secretkey are required HTTP headers on every request and are omitted from the parameter tables below. See Authentication.


Create Instance

Provision a new virtual-machine instance.

POST /restapi/instance/createInstance

Request body

FieldTypeRequiredDescription
templateUuidstringNoUUID of the template.
memorystringNo
rootDiskSizeinteger (int64)No
zoneUuidstringNoUUID of the zone the resource belongs to.
computeOfferingUuidstringNoUUID of the compute offering.
diskSizeinteger (int64)NoDisk size in GB.
sshKeyNamestringNoName of the SSH key pair.
securitygroupNamestringNo
hypervisorNamestringNo
namestringNoName of the resource.
networkUuidstringNoUUID of the network.
storageOfferingUuidstringNoUUID of the storage offering.
cpuCorestringNo
{
"templateUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"memory": "string",
"rootDiskSize": 1,
"zoneUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"computeOfferingUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"diskSize": 1,
"sshKeyName": "example-name",
"securitygroupName": "example-name",
"hypervisorName": "example-name",
"name": "example-name",
"networkUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"storageOfferingUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"cpuCore": "string"
}

Example request

curl -X POST \
"https://portal.your-domain.com/restapi/instance/createInstance" \
-H "apikey: YOUR_API_KEY" \
-H "secretkey: YOUR_SECRET_KEY" \
-H "Content-Type: application/json" \
-d '{
"templateUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"memory": "string",
"rootDiskSize": 1,
"zoneUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"computeOfferingUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"diskSize": 1,
"sshKeyName": "example-name",
"securitygroupName": "example-name",
"hypervisorName": "example-name",
"name": "example-name",
"networkUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"storageOfferingUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"cpuCore": "string"
}'

Responses

CodeDescription
200Successful operation.
401Invalid authentication credentials.
550Permission denied.
{
"listInstanceResponse": [
{
"templateUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"instanceOwnerName": "example-name",
"memory": "string",
"displayName": "example-name",
"rootDiskSize": 1,
"networkName": "example-name",
"zoneUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"sshUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"description": "string",
"computeOfferingUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"isActive": true,
"uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"volumeSize": "string",
"diskSize": 1,
"templateName": "example-name",
"name": "example-name",
"state": "Running",
"instancePrivateIp": "string",
"networkUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"storageOfferingUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"cpuCore": "string",
"status": "Active"
}
],
"count": 1
}

Instance List

Instance List.

GET /restapi/instance/instanceList

Parameters

ParameterInTypeRequiredDescription
zoneUuidquerystring✅ YesUUID of the zone the resource belongs to.
vmUuidquerystringNoUUID of the virtual-machine instance.

Example request

curl -X GET \
"https://portal.your-domain.com/restapi/instance/instanceList?zoneUuid=a1b2c3d4-e5f6-7890-abcd-ef1234567890" \
-H "apikey: YOUR_API_KEY" \
-H "secretkey: YOUR_SECRET_KEY"

Responses

CodeDescription
200Successful operation.
401Invalid authentication credentials.
550Permission denied.
{
"listInstanceResponse": [
{
"templateUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"instanceOwnerName": "example-name",
"memory": "string",
"displayName": "example-name",
"rootDiskSize": 1,
"networkName": "example-name",
"zoneUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"sshUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"description": "string",
"computeOfferingUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"isActive": true,
"uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"volumeSize": "string",
"diskSize": 1,
"templateName": "example-name",
"name": "example-name",
"state": "Running",
"instancePrivateIp": "string",
"networkUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"storageOfferingUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"cpuCore": "string",
"status": "Active"
}
],
"count": 1
}

VM Status

Get the current status of an instance.

GET /restapi/instance/vmStatus

Parameters

ParameterInTypeRequiredDescription
uuidquerystring✅ YesInstance UUID.

Example request

curl -X GET \
"https://portal.your-domain.com/restapi/instance/vmStatus?uuid=a1b2c3d4-e5f6-7890-abcd-ef1234567890" \
-H "apikey: YOUR_API_KEY" \
-H "secretkey: YOUR_SECRET_KEY"

Responses

CodeDescription
200Successful operation.
401Invalid authentication credentials.
550Permission denied.
{
"uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"status": "Active"
}

Start Instance

Start Instance.

GET /restapi/instance/startInstance

Parameters

ParameterInTypeRequiredDescription
uuidquerystring✅ YesUUID of the resource.

Example request

curl -X GET \
"https://portal.your-domain.com/restapi/instance/startInstance?uuid=a1b2c3d4-e5f6-7890-abcd-ef1234567890" \
-H "apikey: YOUR_API_KEY" \
-H "secretkey: YOUR_SECRET_KEY"

Responses

CodeDescription
200Successful operation.
401Invalid authentication credentials.
550Permission denied.
{
"listInstanceResponse": [
{
"templateUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"instanceOwnerName": "example-name",
"memory": "string",
"displayName": "example-name",
"rootDiskSize": 1,
"networkName": "example-name",
"zoneUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"sshUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"description": "string",
"computeOfferingUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"isActive": true,
"uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"volumeSize": "string",
"diskSize": 1,
"templateName": "example-name",
"name": "example-name",
"state": "Running",
"instancePrivateIp": "string",
"networkUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"storageOfferingUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"cpuCore": "string",
"status": "Active"
}
],
"count": 1
}

Stop Instance

Stop Instance.

GET /restapi/instance/stopInstance

Parameters

ParameterInTypeRequiredDescription
uuidquerystring✅ YesUUID of the resource.
forceStopqueryboolean✅ YesForce stop the instance.

Example request

curl -X GET \
"https://portal.your-domain.com/restapi/instance/stopInstance?uuid=a1b2c3d4-e5f6-7890-abcd-ef1234567890&forceStop=VALUE" \
-H "apikey: YOUR_API_KEY" \
-H "secretkey: YOUR_SECRET_KEY"

Responses

CodeDescription
200Successful operation.
401Invalid authentication credentials.
550Permission denied.
{
"listInstanceResponse": [
{
"templateUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"instanceOwnerName": "example-name",
"memory": "string",
"displayName": "example-name",
"rootDiskSize": 1,
"networkName": "example-name",
"zoneUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"sshUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"description": "string",
"computeOfferingUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"isActive": true,
"uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"volumeSize": "string",
"diskSize": 1,
"templateName": "example-name",
"name": "example-name",
"state": "Running",
"instancePrivateIp": "string",
"networkUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"storageOfferingUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"cpuCore": "string",
"status": "Active"
}
],
"count": 1
}

Resize VM Instance

Resize VM Instance.

GET /restapi/instance/resizeVm

Parameters

ParameterInTypeRequiredDescription
uuidquerystring✅ YesUUID of the resource.
offeringUuidquerystring✅ Yes
cpuCorequeryinteger (int64)NoCPU core — custom offering only.
memoryqueryinteger (int64)NoMemory — custom offering only.

Example request

curl -X GET \
"https://portal.your-domain.com/restapi/instance/resizeVm?uuid=a1b2c3d4-e5f6-7890-abcd-ef1234567890&offeringUuid=a1b2c3d4-e5f6-7890-abcd-ef1234567890" \
-H "apikey: YOUR_API_KEY" \
-H "secretkey: YOUR_SECRET_KEY"

Responses

CodeDescription
200Successful operation.
401Invalid authentication credentials.
550Permission denied.
{
"listInstanceResponse": [
{
"templateUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"instanceOwnerName": "example-name",
"memory": "string",
"displayName": "example-name",
"rootDiskSize": 1,
"networkName": "example-name",
"zoneUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"sshUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"description": "string",
"computeOfferingUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"isActive": true,
"uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"volumeSize": "string",
"diskSize": 1,
"templateName": "example-name",
"name": "example-name",
"state": "Running",
"instancePrivateIp": "string",
"networkUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"storageOfferingUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"cpuCore": "string",
"status": "Active"
}
],
"count": 1
}

Recover VM Instance

Recover VM Instance.

GET /restapi/instance/recoverVm

Parameters

ParameterInTypeRequiredDescription
uuidquerystring✅ YesUUID of the resource.

Example request

curl -X GET \
"https://portal.your-domain.com/restapi/instance/recoverVm?uuid=a1b2c3d4-e5f6-7890-abcd-ef1234567890" \
-H "apikey: YOUR_API_KEY" \
-H "secretkey: YOUR_SECRET_KEY"

Responses

CodeDescription
200Successful operation.
401Invalid authentication credentials.
550Permission denied.
{
"listInstanceResponse": [
{
"templateUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"instanceOwnerName": "example-name",
"memory": "string",
"displayName": "example-name",
"rootDiskSize": 1,
"networkName": "example-name",
"zoneUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"sshUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"description": "string",
"computeOfferingUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"isActive": true,
"uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"volumeSize": "string",
"diskSize": 1,
"templateName": "example-name",
"name": "example-name",
"state": "Running",
"instancePrivateIp": "string",
"networkUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"storageOfferingUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"cpuCore": "string",
"status": "Active"
}
],
"count": 1
}

Destroy Instance

Destroy Instance.

GET /restapi/instance/destroyInstance

Parameters

ParameterInTypeRequiredDescription
uuidquerystring✅ YesUUID of the resource.
expungequeryboolean✅ YesPermanently expunge the instance.

Example request

curl -X GET \
"https://portal.your-domain.com/restapi/instance/destroyInstance?uuid=a1b2c3d4-e5f6-7890-abcd-ef1234567890&expunge=VALUE" \
-H "apikey: YOUR_API_KEY" \
-H "secretkey: YOUR_SECRET_KEY"

Responses

CodeDescription
200Successful operation.
401Invalid authentication credentials.
550Permission denied.
{
"listInstanceResponse": [
{
"templateUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"instanceOwnerName": "example-name",
"memory": "string",
"displayName": "example-name",
"rootDiskSize": 1,
"networkName": "example-name",
"zoneUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"sshUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"description": "string",
"computeOfferingUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"isActive": true,
"uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"volumeSize": "string",
"diskSize": 1,
"templateName": "example-name",
"name": "example-name",
"state": "Running",
"instancePrivateIp": "string",
"networkUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"storageOfferingUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"cpuCore": "string",
"status": "Active"
}
],
"count": 1
}

Update Instance Name

Update Instance Name.

PUT /restapi/instance/updateInstanceName

Request body

FieldTypeRequiredDescription
displayNamestringNo
uuidstringNoUUID of the resource.
{
"displayName": "example-name",
"uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}

Example request

curl -X PUT \
"https://portal.your-domain.com/restapi/instance/updateInstanceName" \
-H "apikey: YOUR_API_KEY" \
-H "secretkey: YOUR_SECRET_KEY" \
-H "Content-Type: application/json" \
-d '{
"displayName": "example-name",
"uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}'

Responses

CodeDescription
200Successful operation.
202Accepted — processed asynchronously (poll via the Resource API Status endpoint).
401Invalid authentication credentials.
550Permission denied.
{
"listInstanceResponse": [
{
"templateUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"instanceOwnerName": "example-name",
"memory": "string",
"displayName": "example-name",
"rootDiskSize": 1,
"networkName": "example-name",
"zoneUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"sshUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"description": "string",
"computeOfferingUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"isActive": true,
"uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"volumeSize": "string",
"diskSize": 1,
"templateName": "example-name",
"name": "example-name",
"state": "Running",
"instancePrivateIp": "string",
"networkUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"storageOfferingUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"cpuCore": "string",
"status": "Active"
}
],
"count": 1
}

Instance Network List

Instance Network List.

GET /restapi/instance/instanceNetworkList

Parameters

ParameterInTypeRequiredDescription
uuidquerystring✅ YesUUID of the resource.

Example request

curl -X GET \
"https://portal.your-domain.com/restapi/instance/instanceNetworkList?uuid=a1b2c3d4-e5f6-7890-abcd-ef1234567890" \
-H "apikey: YOUR_API_KEY" \
-H "secretkey: YOUR_SECRET_KEY"

Responses

CodeDescription
200Successful operation.
401Invalid authentication credentials.
550Permission denied.
{
"count": 1,
"kongInstanceNetworkResponses": [
{
"netmask": "string",
"privateIp": "string",
"name": "example-name",
"defaultNetwork": true,
"publicIp": "string",
"type": "string",
"uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"gateway": "string"
}
]
}

Attach Network to Instance

Attach Network to Instance.

POST /restapi/instance/attachNetwork

Request body

FieldTypeRequiredDescription
uuidstringNoUUID of the resource.
networkUuidstringNoUUID of the network.
{
"uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"networkUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}

Example request

curl -X POST \
"https://portal.your-domain.com/restapi/instance/attachNetwork" \
-H "apikey: YOUR_API_KEY" \
-H "secretkey: YOUR_SECRET_KEY" \
-H "Content-Type: application/json" \
-d '{
"uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"networkUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}'

Responses

CodeDescription
200Successful operation.
401Invalid authentication credentials.
550Permission denied.
{
"listInstanceResponse": [
{
"templateUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"instanceOwnerName": "example-name",
"memory": "string",
"displayName": "example-name",
"rootDiskSize": 1,
"networkName": "example-name",
"zoneUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"sshUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"description": "string",
"computeOfferingUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"isActive": true,
"uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"volumeSize": "string",
"diskSize": 1,
"templateName": "example-name",
"name": "example-name",
"state": "Running",
"instancePrivateIp": "string",
"networkUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"storageOfferingUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"cpuCore": "string",
"status": "Active"
}
],
"count": 1
}

Detach Network from Instance

Detach Network from Instance.

POST /restapi/instance/detachNetwork

Request body

FieldTypeRequiredDescription
uuidstringNoUUID of the resource.
networkUuidstringNoUUID of the network.
{
"uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"networkUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}

Example request

curl -X POST \
"https://portal.your-domain.com/restapi/instance/detachNetwork" \
-H "apikey: YOUR_API_KEY" \
-H "secretkey: YOUR_SECRET_KEY" \
-H "Content-Type: application/json" \
-d '{
"uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"networkUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}'

Responses

CodeDescription
200Successful operation.
401Invalid authentication credentials.
550Permission denied.
{
"listInstanceResponse": [
{
"templateUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"instanceOwnerName": "example-name",
"memory": "string",
"displayName": "example-name",
"rootDiskSize": 1,
"networkName": "example-name",
"zoneUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"sshUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"description": "string",
"computeOfferingUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"isActive": true,
"uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"volumeSize": "string",
"diskSize": 1,
"templateName": "example-name",
"name": "example-name",
"state": "Running",
"instancePrivateIp": "string",
"networkUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"storageOfferingUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"cpuCore": "string",
"status": "Active"
}
],
"count": 1
}

Attach ISO to Instance

Attach ISO to Instance.

GET /restapi/instance/attachIso

Parameters

ParameterInTypeRequiredDescription
uuidquerystring✅ YesUUID of the resource.
isoUuidquerystring✅ Yes

Example request

curl -X GET \
"https://portal.your-domain.com/restapi/instance/attachIso?uuid=a1b2c3d4-e5f6-7890-abcd-ef1234567890&isoUuid=a1b2c3d4-e5f6-7890-abcd-ef1234567890" \
-H "apikey: YOUR_API_KEY" \
-H "secretkey: YOUR_SECRET_KEY"

Responses

CodeDescription
200Successful operation.
401Invalid authentication credentials.
550Permission denied.
{
"listInstanceResponse": [
{
"templateUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"instanceOwnerName": "example-name",
"memory": "string",
"displayName": "example-name",
"rootDiskSize": 1,
"networkName": "example-name",
"zoneUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"sshUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"description": "string",
"computeOfferingUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"isActive": true,
"uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"volumeSize": "string",
"diskSize": 1,
"templateName": "example-name",
"name": "example-name",
"state": "Running",
"instancePrivateIp": "string",
"networkUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"storageOfferingUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"cpuCore": "string",
"status": "Active"
}
],
"count": 1
}

Detach ISO

Detach ISO.

GET /restapi/instance/detachIso

Parameters

ParameterInTypeRequiredDescription
uuidquerystring✅ YesUUID of the resource.

Example request

curl -X GET \
"https://portal.your-domain.com/restapi/instance/detachIso?uuid=a1b2c3d4-e5f6-7890-abcd-ef1234567890" \
-H "apikey: YOUR_API_KEY" \
-H "secretkey: YOUR_SECRET_KEY"

Responses

CodeDescription
200Successful operation.
401Invalid authentication credentials.
550Permission denied.
{
"listInstanceResponse": [
{
"templateUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"instanceOwnerName": "example-name",
"memory": "string",
"displayName": "example-name",
"rootDiskSize": 1,
"networkName": "example-name",
"zoneUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"sshUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"description": "string",
"computeOfferingUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"isActive": true,
"uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"volumeSize": "string",
"diskSize": 1,
"templateName": "example-name",
"name": "example-name",
"state": "Running",
"instancePrivateIp": "string",
"networkUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"storageOfferingUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"cpuCore": "string",
"status": "Active"
}
],
"count": 1
}

Reset Instance SSH Key

Reset Instance SSH Key.

GET /restapi/instance/resetSSHkey

Parameters

ParameterInTypeRequiredDescription
uuidquerystring✅ YesUUID of the resource.
sshUuidquerystring✅ Yes

Example request

curl -X GET \
"https://portal.your-domain.com/restapi/instance/resetSSHkey?uuid=a1b2c3d4-e5f6-7890-abcd-ef1234567890&sshUuid=a1b2c3d4-e5f6-7890-abcd-ef1234567890" \
-H "apikey: YOUR_API_KEY" \
-H "secretkey: YOUR_SECRET_KEY"

Responses

CodeDescription
200Successful operation.
401Invalid authentication credentials.
550Permission denied.
{
"listInstanceResponse": [
{
"templateUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"instanceOwnerName": "example-name",
"memory": "string",
"displayName": "example-name",
"rootDiskSize": 1,
"networkName": "example-name",
"zoneUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"sshUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"description": "string",
"computeOfferingUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"isActive": true,
"uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"volumeSize": "string",
"diskSize": 1,
"templateName": "example-name",
"name": "example-name",
"state": "Running",
"instancePrivateIp": "string",
"networkUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"storageOfferingUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"cpuCore": "string",
"status": "Active"
}
],
"count": 1
}

Instance Password List

Instance Password List.

GET /restapi/instance/instancePasswordList

Parameters

ParameterInTypeRequiredDescription
zoneUuidquerystring✅ YesUUID of the zone the resource belongs to.
uuidquerystringNoUUID of the resource.

Example request

curl -X GET \
"https://portal.your-domain.com/restapi/instance/instancePasswordList?zoneUuid=a1b2c3d4-e5f6-7890-abcd-ef1234567890" \
-H "apikey: YOUR_API_KEY" \
-H "secretkey: YOUR_SECRET_KEY"

Responses

CodeDescription
200Successful operation.
401Invalid authentication credentials.
550Permission denied.
{
"count": 1,
"listInstancePasswordResponse": [
{
"password": "string",
"uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}
]
}