---
title: "Delete an inbound rule"
method: POST
path: "/inbound_rules/{id}/destroy"
tags: ["Inbound Rule"]
---

# Delete an inbound rule

`POST /inbound_rules/{id}/destroy`

## Request

- Base URL: `https://HOSTNAME:8887/api`
- URL: `https://HOSTNAME:8887/api/inbound_rules/{id}/destroy`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/docs/inbound_rules/:id/destroy/post.ts> (a function with typed inputs; its response is checked against the schema)

Destroy an inbound rule.

## Path parameters

- `id` string, required: The unique ID of the resource.

## Response `204`

No Content

## Other responses

- `400`: Invalid inbound rule ID supplied

---

[API](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api.md) - [All operations](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/revisions/577415d4a3d5?raw)
