---
title: "Delete an Operation Rule"
method: DELETE
path: "/v2/org/{org}/nico/task/rule/{id}"
tags: ["Rule"]
---

# Delete an Operation Rule

`DELETE /v2/org/{org}/nico/task/rule/{id}`

Delete an Operation Rule by UUID. Flow rejects deletion of rules that are
still associated with a Rack or that are the active default for their
(operationType, operationCode) tuple; dissociate / un-default first.

Rules are site-scoped; `siteId` must be the Site that owns the rule. Org must
have an Infrastructure Provider entity. User must have authorization role with
`PROVIDER_ADMIN` suffix.

## Query parameters

- `siteId` string, uuid, required

## Response `204`

Rule was deleted.

## 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
- `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-10** `9a135fa35aad` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/nvidia/apis/nvidia-infra-controller-rest-api/changes/v2/org/:org/nico/task/rule/:id/delete.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)
