Skip to main content
DELETE
/
cloud
/
v3
/
gpu
/
virtual
/
{project_id}
/
{region_id}
/
clusters
/
{cluster_id}
Python
import os
from gcore import Gcore

client = Gcore(
    api_key=os.environ.get("GCORE_API_KEY"),  # This is the default and can be omitted
)
task_id_list = client.cloud.gpu_virtual_clusters.delete(
    cluster_id="1aaaab48-10d0-46d9-80cc-85209284ceb4",
    project_id=1,
    region_id=7,
)
print(task_id_list.tasks)
{
  "tasks": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Path Parameters

project_id
integer
required

Project ID

Example:

1

region_id
integer
required

Region ID

Example:

7

cluster_id
string<uuid4>
required

Cluster unique identifier

Example:

"1aaaab48-10d0-46d9-80cc-85209284ceb4"

Query Parameters

all_floating_ips
boolean
default:false

Flag indicating whether the floating ips associated with server / cluster are deleted

Example:

true

all_reserved_fixed_ips
boolean
default:false

Flag indicating whether the reserved fixed ips associated with server / cluster are deleted

Example:

true

all_volumes
boolean
default:false

Flag indicating whether all attached volumes are deleted

Example:

true

floating_ip_ids
string<uuid4>[]

Optional list of floating ips to be deleted

Example:
["e4a01208-d6ac-4304-bf86-3028154b070a"]
reserved_fixed_ip_ids
string<uuid4>[]

Optional list of reserved fixed ips to be deleted

Example:
["a29b8e1e-08d3-4cec-91fb-06e81e5f46d5"]
volume_ids
string<uuid4>[]

Optional list of volumes to be deleted

Example:
["1333c684-c3da-4b91-ac9e-a92706aa2824"]

Response

200 - application/json

OK

tasks
string[]
required

List of task IDs representing asynchronous operations. Use these IDs to monitor operation progress:

  • GET /v1/tasks/{task_id} - Check individual task status and details Poll task status until completion (FINISHED/ERROR) before proceeding with dependent operations.
Example:
["d478ae29-dedc-4869-82f0-96104425f565"]