---
title: "Delete a dial rule by ID in a dial plan"
method: DELETE
path: "/domains/{domain}/dialplans/{dialplan}/dialrules/{dialrule}"
tags: ["Dialrule"]
---

# Delete a dial rule by ID in a dial plan

`DELETE /domains/{domain}/dialplans/{dialplan}/dialrules/{dialrule}`

## Path parameters

- `domain` string, required — This is the main organization name. This is used to link resource to its group/tenant/organization/enterprise. Then using in path for GET you can set to "~" to use the domain name linked to your token/key instead of the domain name itself when reading for your own domain.
- `dialplan` string, required
- `dialrule` string, required

## Response `202`

- object

## Other responses

- `400`
- `401`
- `404`

---

[API](https://skmtc.net/ns-api/apis/netsapiens-api-v2.md) · [All operations](https://skmtc.net/ns-api/apis/netsapiens-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ns-api/netsapiens-api-v2/revisions/d37f65b5b886/schema)
