DELETE
/
cloud
/
v3
/
gpu
/
baremetal
/
{project_id}
/
{region_id}
/
clusters
/
{cluster_id}
Python
from gcore import Gcore

client = Gcore(
    api_key="My API Key",
)
task_id_list = client.cloud.gpu_baremetal_clusters.delete(
    cluster_id="1aaaab48-10d0-46d9-80cc-85209284ceb4",
    project_id=1,
    region_id=7,
)
print(task_id_list.tasks)
{
  "tasks": [
    "d478ae29-dedc-4869-82f0-96104425f565"
  ]
}

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

Examples:

1

region_id
integer
required

Region ID

Examples:

7

cluster_id
string<uuid4>
required

Cluster unique identifier

Examples:

"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

Examples:

true

all_reserved_fixed_ips
boolean
default:false

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

Examples:

true

floating_ip_ids
string<uuid4>[]

Optional list of floating ips to be deleted

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

Optional list of reserved fixed ips to be deleted

Examples:
["a29b8e1e-08d3-4cec-91fb-06e81e5f46d5"]

Response

200 - application/json

OK

The response is of type object.