---
title: "Update a do-not-call entry"
method: PUT
path: "/api/v1/do-not-call/{id}"
tags: ["do-not-call"]
---

# Update a do-not-call entry

`PUT /api/v1/do-not-call/{id}`

## Request

- Base URL: `https://www.callagent.pro`
- URL: `https://www.callagent.pro/api/v1/do-not-call/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` integer, required

## Response `200`

Saved. Returns the refreshed list under dnc.

- object
  - `ok` boolean
  - `dnc` DncEntry[]
    - `id` integer, required
    - `number` string, required: E.164 number, or a prefix — a prefix entry suppresses every number under it
    - `reason` string, required
    - `source` string, required: How it got on the list, e.g. manual
    - `added` string, required: Humanized age, e.g. 2 days ago
  - `pruned` integer

## Other responses

- `401`: Missing or invalid Bearer key
- `429`: Too many requests — see the endpoint's rate limit tier (agent-api 120/min, agent-api-heavy 6/min, agent-api-secrets 10/min)

---

[API](https://skmtc.dev/callagent/apis/callagent-pro-agent-api.md) · [All operations](https://skmtc.dev/callagent/apis/callagent-pro-agent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/callagent/apis/callagent-pro-agent-api/revisions/38072cf8a24b?raw)
