Skip to main content
PATCH
Update virtual GPU cluster

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"

Body

application/json
name
string

Cluster name

Maximum string length: 63
Pattern: ^[a-zA-Z0-9][a-zA-Z 0-9._\-]{1,61}[a-zA-Z0-9._]$
Example:

"gpu-cluster-1"

servers_settings
PatchVirtualServerSettingsInputSerializer · object

Configuration settings for the servers in the cluster

Example:
tags
UpdateTagsSerializer · object | null

Update key-value tags using JSON Merge Patch semantics (RFC 7386). Provide key-value pairs to add or update tags. Set tag values to null to remove tags. Unspecified tags remain unchanged. Read-only tags are always preserved and cannot be modified.

Examples:

  • Add/update tags: {'tags': {'environment': 'production', 'team': 'backend'}} adds new tags or updates existing ones.
  • Delete tags: {'tags': {'old_tag': null}} removes specific tags.
  • Remove all tags: {'tags': null} removes all user-managed tags (read-only tags are preserved).
  • Partial update: {'tags': {'environment': 'staging'}} only updates specified tags.
  • Mixed operations: {'tags': {'environment': 'production', 'cost_center': 'engineering', 'deprecated_tag': null}} adds/updates 'environment' and 'cost_center' while removing 'deprecated_tag', preserving other existing tags.
  • Replace all: first delete existing tags with null values, then add new ones in the same request.
Example:

Response

200 - application/json

OK

created_at
string<date-time>
required

Cluster creation date time

Example:

"2024-12-31T23:59:59Z"

flavor
string
required

Cluster flavor name

Example:

"g3-ai-32-192-1500-l40s-48-1"

has_pending_changes
boolean
required

True if any server in the cluster has pending (not yet applied) settings changes

Example:

false

id
string<uuid4>
required

Cluster unique identifier

Example:

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

name
string
required

Cluster name

Example:

"my virtual gpu cluster"

servers_count
integer
required

Cluster servers count

Example:

2

servers_ids
string<uuid4>[]
required

List of cluster nodes

Example:
servers_settings
VirtualServerSettingsOutputSerializer · object
required
status
enum<string>
required

Cluster status

Available options:
active,
creating,
degraded,
deleting,
error,
rebooting,
rebuilding,
resizing,
shutoff
Example:

"active"

tags
TagSerializer · object[]
required

List of key-value tags associated with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.

Example:
updated_at
string<date-time> | null
required

Cluster update date time

Example:

"2025-01-11T23:59:59Z"