---
title: "Destroy disallowed codes"
method: POST
path: "/disallowed_codes/{id}/destroy"
tags: ["Security"]
---

# Destroy disallowed codes

`POST /disallowed_codes/{id}/destroy`

## Request

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

Destroy disallowed codes

## Path parameters

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

## Response `204`

No Content

## Other responses

- `400`: Invalid entry ID supplied
- `404`: User not found

---

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