---
title: "Enable or disable website knowledge"
method: PATCH
path: "/v2/api/numbers/{number}/agent/knowledge/websites/{id}"
tags: ["AI Receptionist"]
---

# Enable or disable website knowledge

`PATCH /v2/api/numbers/{number}/agent/knowledge/websites/{id}`

## Request

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

Turns a website on or off for this line without losing its crawled content. `ACTIVE` on a website of the team's library that this line does not use yet adds it to this line.

## Path parameters

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

## Request body

- object
  - `status` 'ACTIVE' | 'DISABLED', required

## Response `200`

The entry after the write

- object
  - `data` AgentWebsiteKnowledge: A website of the team's knowledge library, crawled for the receptionist to answer from. The crawled text itself is not reported: it is what the receptionist reads, not something you configure.
    - `id` string
    - `url` string
    - `status` 'ACTIVE' | 'DISABLED': `ACTIVE` when this line's receptionist answers from the website, `DISABLED` when this line does not use it.
    - `created_at` string, date-time, nullable
    - `updated_at` string, date-time, nullable

## Other responses

- `400`: Invalid request parameters
- `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/websites/:id/patch.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)
