---
title: "Update Expected Power Shelf"
method: PATCH
path: "/v2/org/{org}/nico/expected-power-shelf/{expectedPowerShelfId}"
tags: ["Expected Power Shelf"]
---

# Update Expected Power Shelf

`PATCH /v2/org/{org}/nico/expected-power-shelf/{expectedPowerShelfId}`

Update an existing Expected Power Shelf by ID.

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

Infrastructure Provider must own the Expected Power Shelf.

Alternatively, Tenant Admins with `TargetedInstanceCreation` capability can also update Expected Power Shelves if they have an account with the Site's Infrastructure Provider.

## Request body

- ExpectedPowerShelfUpdateRequest — Request data to update an existing Expected Power Shelf. Note: BMC credentials (username/password) are only accepted during creation and updates but are not returned in responses.
  - `id` string, uuid, nullable — ID of the Expected Power Shelf to update (ignored for single update, used for identification in batch operations).
  - `bmcMacAddress` string, nullable — Immutable MAC address of the Expected Power Shelf's BMC (Baseboard Management Controller). Omit this field when updating. A formatting-equivalent value is accepted for compatibility and preserves the originally stored spelling, but changing the physical MAC address is rejected with HTTP 400.
  - `defaultBmcUsername` string, nullable — Username for accessing the Expected Power Shelf's BMC
  - `defaultBmcPassword` string, nullable — Password for accessing the Expected Power Shelf's BMC
  - `shelfSerialNumber` string, nullable — Serial number of the Expected Power Shelf
  - `bmcIpAddress` string, nullable — Optional BMC IP address (IPv4 or IPv6). When set, pre-allocates a reserved IP for the BMC.
  - `rackId` string, nullable — Optional rack identifier for this component
  - `name` string, nullable — Display name for this component
  - `manufacturer` string, nullable — Manufacturer of this component
  - `model` string, nullable — Model of this component
  - `description` string, nullable — Description of this component
  - `slotId` integer, nullable — Slot ID within the rack
  - `trayIdx` integer, nullable — Tray index within the rack
  - `hostId` integer, nullable — Host ID within the tray
  - `labels` Labels

## Response `200`

OK

- ExpectedPowerShelf — An Expected Power Shelf represents a power shelf that is expected to be discovered at a site, with hardware identifiers and metadata. Note: BMC credentials (username/password) are only accepted during creation and updates but are not returned in responses.
  - `id` string, uuid — Unique identifier for the Expected Power Shelf
  - `siteId` string, uuid — ID of the site the Expected Power Shelf belongs to
  - `bmcMacAddress` string — MAC address of the Expected Power Shelf's BMC (Baseboard Management Controller)
  - `shelfSerialNumber` string — Serial number of the Expected Power Shelf
  - `bmcIpAddress` string, nullable — Optional BMC IP address (IPv4 or IPv6). When set, pre-allocates a reserved IP for the BMC.
  - `rackId` string, nullable — Optional rack identifier for this component
  - `name` string, nullable — Display name for this component
  - `manufacturer` string, nullable — Manufacturer of this component
  - `model` string, nullable — Model of this component
  - `description` string, nullable — Description of this component
  - `slotId` integer, nullable — Slot ID within the rack
  - `trayIdx` integer, nullable — Tray index within the rack
  - `hostId` integer, nullable — Host ID within the tray
  - `labels` Labels
  - `created` string, date-time — ISO 8601 datetime when the Expected Power Shelf was created
  - `updated` string, date-time — ISO 8601 datetime when the Expected Power Shelf was last updated

## 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
- `404` — Error response when requested object is not found

---

[API](https://skmtc.net/nvidia/apis/nvidia-infra-controller-rest-api.md) · [All operations](https://skmtc.net/nvidia/apis/nvidia-infra-controller-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/nvidia/nvidia-infra-controller-rest-api/versions/69e00804e732/schema)
