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

# Power control a Rack

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

Power control a Rack identified by Rack UUID.

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

- UpdatePowerStateRequest — Request body for single-resource power control operations
  - `siteId` string, uuid, required — ID of the Site
  - `state` 'on' | 'off' | 'cycle' | 'forceoff' | 'forcecycle', required — Power control state to apply: - `on`: Power on the target(s) - `off`: Graceful power off - `cycle`: Graceful power cycle (restart) - `forceoff`: Forced power off (immediate) - `forcecycle`: Forced power cycle (immediate restart)
  - `ruleId` string, uuid — Optional Operation Rule UUID. When set, pins this operation 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/:id/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)
