---
title: "Update Inventory Cluster"
method: PATCH
path: "/api/admin/inventory/clusters/{cluster_id}"
tags: ["admin-inventory"]
---

# Update Inventory Cluster

`PATCH /api/admin/inventory/clusters/{cluster_id}`

Apply one general partial cluster update through the audited service.

## Path parameters

- `cluster_id` string, required

## Query parameters

- `dryRun` boolean

## Request body

- ClusterMutationRequest — Cluster create/update. All fields optional (partial update); create validates `name` in the service. JSON buckets are persisted as-is (trusted from the form).
  - `name` string, nullable
  - `slug` string, nullable
  - `displayName` string, nullable
  - `status` 'PLANNED' | 'ACTIVE' | 'DECOMMISSIONING' | 'DECOMMISSIONED' | 'OFFLINE'
  - `vaultSshCaEnabled` boolean, nullable
  - `liquidCompute` boolean, nullable
  - `listedPrimeResell` boolean, nullable
  - `description` string, nullable
  - `comments` string, nullable
  - `tags` string[], nullable
  - `siteId` string, nullable
  - `tenantId` string, nullable
  - `clusterId` string, nullable
  - `identity` object, nullable
  - `commercial` object, nullable
  - `network` object, nullable
  - `storage` object, nullable
  - `operations` object, nullable
  - `access` object, nullable
  - `additional` object, nullable

## Response `200`

Successful Response

- GenericResponseMutationResult
  - `data` MutationResult
    - `operationId` string, required
    - `targetId` string, nullable
    - `targetName` string, nullable
    - `message` string, required
    - `created` integer, nullable
    - `updated` integer, nullable
    - `assigned` integer, nullable
  - `status` string, nullable — Response status

## Other responses

- `401` — Authorization failed
- `403` — Insufficient permissions
- `422` — Invalid request data

---

[API](https://skmtc.net/primeintellect/apis/pi-api.md) · [All operations](https://skmtc.net/primeintellect/apis/pi-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/primeintellect/pi-api/revisions/3d3868828a78/schema)
