---
title: "Change knowledge source applicability"
method: PATCH
path: "/knowledge/sources/{sourceId}/property"
---

# Change knowledge source applicability

`PATCH /knowledge/sources/{sourceId}/property`

## Request

- Base URL: `https://platform-api.visitoai.com/m2m/v1`
- URL: `https://platform-api.visitoai.com/m2m/v1/knowledge/sources/{sourceId}/property`
- Auth: HTTP bearer

Set an existing source to a property from list_properties, or null for global scope. Changes which guest conversations may retrieve it. Managed website pages follow website selection/scope; use set_knowledge_website_property for the whole website. Read current state first and confirm it afterward. Required permission: knowledge:write. Connected business only; no tenant override.

## Path parameters

- `sourceId` string, required

## Request body

- KnowledgeScopeInput
  - `propertyId` string, nullable, required: Copy propertyId from list_properties, or null to make this knowledge global across the business.

## Response `200`

Success

- KnowledgeSourceScopeResult
  - `sourceId` string, required
  - `scope` 'property' | 'global', required
  - `propertyId` string
  - `propertyName` string

## Other responses

- `400`: Invalid request
- `403`: Missing permission
- `404`: Resource not found
- `409`: Conflict; read state and reconcile

---

[API](https://skmtc.dev/visitoai/apis/visito-m2m-api.md) - [All operations](https://skmtc.dev/visitoai/apis/visito-m2m-api/llms.txt) - [OpenAPI document](https://skmtc.dev/visitoai/apis/visito-m2m-api/revisions/98377d35c234?raw)
