# Update receptionist website

> Turns a website on or off for the receptionist on this number, without losing what Allo crawled. Requires the PARTNER scope.

`PATCH /v2/api/partner/accounts/{id}/numbers/{number}/receptionist/knowledge/websites/{website_id}`

<Note>
**Required scope:** `PARTNER`
</Note>

Turns a website on or off for the receptionist on this number, without losing what Allo crawled. Send `status` set to `ACTIVE` or `DISABLED`. The response returns the website, in the same shape as [Add receptionist website](/docs/white-label/add-receptionist-website).

```json
{
  "status": "DISABLED"
}
```

`{website_id}` is the `id` the website was added with, also listed in the receptionist's `configuration.knowledge`.

The other errors are those of [Enable or disable a website](/docs/agent/update-website-knowledge).

## Errors

| Code | What it means |
|------|---------------|
| `RECEPTIONIST_NOT_ACTIVE` | The receptionist is not activated on this number (`409`). [Activate it](/docs/white-label/activate-receptionist) first. |
| `PARTNER_ACCOUNT_NOT_FOUND` | No account with this id was created by your API key, or the account is deactivated (`404`). |
| `PHONE_NUMBER_NOT_FOUND` | The number is not on this account (`404`). |
