---
title: "Power control Racks"
method: PATCH
path: "/v2/org/{org}/nico/rack/power"
tags: ["Rack"]
---

# Power control Racks

`PATCH /v2/org/{org}/nico/rack/power`

Power control Racks with optional filters. If no filter is specified, targets all racks in the Site.

Supported power states: `on`, `off`, `cycle`, `forceoff`, `forcecycle`.

Org must have an Infrastructure Provider entity. User must have authorization role with `PROVIDER_ADMIN` suffix.

## Request body

- BatchUpdateRackPowerStateRequest — Request body for batch rack power control operations
  - `siteId` string, uuid, required — ID of the Site
  - `filter` RackFilter — Filter criteria for selecting racks in batch operations. If omitted or empty, all racks in the site are targeted.
    - `names` string[] — Filter racks by name
  - `state` 'on' | 'off' | 'cycle' | 'forceoff' | 'forcecycle', required — Target power state
  - `ruleId` string, uuid — Optional Operation Rule UUID. When set, pins every task spawned by this batch to the named rule and overrides Flow's default rule resolution.
  - `overrideReadinessCheck` boolean — When true, proceed even if one or more target components (or hosts on the owning rack for rack-scoped components) are reported as not ready by their persisted status. Intended for operator-supervised maintenance.

## Response `200`

OK

- UpdatePowerStateResponse — Response for power control operations containing task IDs for tracking
  - `taskIds` string[] — List of task IDs created for the power control operation (one per rack)

## Other responses

- `400` — Error response when request data cannot be validated
- `403` — Error response when user is not authorized to call an endpoint or retrieve/modify objects
- `504` — The Site did not return a result within the request budget allocated to Site communication within the request cycle. This can occur if the Site Controller is down or under heavy request load. Operations are in general safe to retry. In rare cases, operations that create or update resources may succeed even if timeout is returned.

## Changes

- **2026-08-14** `441cfc1afc1c` — 1 info
  - added the non-success response with the status `504`
- **2026-06-12** `268117a96421` — 1 info
  - added the new optional request property `overrideReadinessCheck`
- **2026-06-10** `9a135fa35aad` — 1 info
  - added the new optional request property `ruleId`

[Change history](https://skmtc.dev/nvidia/apis/nvidia-infra-controller-rest-api/changes/v2/org/:org/nico/rack/power/patch.md)

---

[API](https://skmtc.dev/nvidia/apis/nvidia-infra-controller-rest-api.md) · [All operations](https://skmtc.dev/nvidia/apis/nvidia-infra-controller-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nvidia/nvidia-infra-controller-rest-api/revisions/2096eb1db2c1/schema)
