---
title: "Delete all Expected Racks"
method: DELETE
path: "/v2/org/{org}/nico/expected-rack/all"
tags: ["Expected Rack"]
---

# Delete all Expected Racks

`DELETE /v2/org/{org}/nico/expected-rack/all`

Delete all Expected Racks for a Site.

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

Infrastructure Provider must own the Expected Racks.

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

## Query parameters

- `siteId` string, uuid, required

## Response `204`

All Expected Racks deleted successfully

## 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

---

[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)
