---
title: "Update a blocked code"
method: POST
path: "/disallowed_codes/{id}"
tags: ["Security"]
---

# Update a blocked code

`POST /disallowed_codes/{id}`

Update a blocked code by it's ID.

## Path parameters

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

## Request body

- object
  - `id` string — The unique ID of the resource.
  - `number_prefix` string — The number prefix of blocked code. An alphanumeric sequence beginning with an optional plus sign.
  - `description` string — The description of blocked code.

## Response `200`

OK

## Other responses

- `4XX` — Error

---

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