---
title: "Delete file knowledge"
method: DELETE
path: "/v2/api/numbers/{number}/agent/knowledge/files/{id}"
tags: ["AI Receptionist"]
---

# Delete file knowledge

`DELETE /v2/api/numbers/{number}/agent/knowledge/files/{id}`

## Request

- Base URL: `https://api.withallo.com`
- URL: `https://api.withallo.com/v2/api/numbers/{number}/agent/knowledge/files/{id}`
- Auth: API key in header `Authorization`

Deletes an uploaded document from the team's knowledge library, for every line of the team. Documents are uploaded in the Allo app; this API lists and deletes them.

## Path parameters

- `number` string, required
- `id` string, required

## Response `204`

Deleted

## Other responses

- `401`: Invalid or missing API key
- `403`: API key lacks the required scope or access to the resource
- `404`: Resource not found
- `429`: Rate limit exceeded

## Changes

- **2026-11-03** `46c77103dd14`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/withallo/apis/allo-api/changes/v2/api/numbers/:number/agent/knowledge/files/:id/delete.md)

---

[API](https://skmtc.dev/withallo/apis/allo-api.md) - [All operations](https://skmtc.dev/withallo/apis/allo-api/llms.txt) - [OpenAPI document](https://skmtc.dev/withallo/apis/allo-api/revisions/46c77103dd14?raw)
