---
title: "Delete rule chain (deleteRuleChain)"
method: DELETE
path: "/api/ruleChain/{ruleChainId}"
tags: ["rule-chain-controller"]
---

# Delete rule chain (deleteRuleChain)

`DELETE /api/ruleChain/{ruleChainId}`

Deletes the rule chain. Referencing non-existing rule chain Id will cause an error. Referencing rule chain that is used in the device profiles will cause an error.

Available for users with 'TENANT_ADMIN' authority.

## Path parameters

- `ruleChainId` string, required

## Response `200`

OK

---

[API](https://skmtc.net/thingsboard/apis/thingsboard-rest-api.md) · [All operations](https://skmtc.net/thingsboard/apis/thingsboard-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/thingsboard/thingsboard-rest-api/revisions/40169ccdec5c/schema)
