POST
/
enterprise
/
v1
/
io-cloud
/
vmaas
/
deployment
/
{deployment_id}
/
extend
cURL
curl -X POST "https://api.io.solutions/enterprise/v1/io-cloud/vmaas/deployment/{deployment_id}/extend" \
  -H "x-api-key: $IOCLOUD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "duration_hours": 1
  }'
{
  "data": {
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "status": "active",
    "created_at": "2023-11-07T05:31:56Z",
    "started_at": "2023-11-07T05:31:56Z",
    "finished_at": "2023-11-07T05:31:56Z",
    "amount_paid": 0,
    "completed_percent": 0,
    "total_gpus": 0,
    "gpus_per_vm": 0,
    "total_vms": 0,
    "hardware_name": "NVIDIA A100",
    "hardware_id": 101,
    "locations": [
      {
        "id": 0,
        "iso2": "US",
        "name": "US-East"
      }
    ],
    "brand_name": "NVIDIA",
    "compute_minutes_served": 0,
    "compute_minutes_remaining": 0,
    "ssh_keys": {},
    "github_ids": [
      "github_user_1"
    ]
  }
}

Authorizations

x-api-key
string
header
required

Path Parameters

deployment_id
string
required

Unique ID of the deployment to extend

Body

application/json
duration_hours
integer
required

Number of hours to extend the deployment

Example:

1

Response

Successful response with updated deployment details

data
object