Change applicability of a managed website

Set all website knowledge to propertyId from list_properties, or null for global scope. This changes retrieval applicability for the current website generation; confirm returned scope/pages after saving. Required permission: knowledge:write. Connected business only; no tenant override.

patch/knowledge/websites/{websiteId}/property

Request

  • Base URL
    https://platform-api.visitoai.com/m2m/v1
  • Auth
    HTTP bearer

Path parameters

websiteIdstring required

Copy websiteId from list_knowledge_items or list_knowledge_websites; it belongs to the connected business. Do not derive it from a title, URL or external provider ID.

Request body

propertyIdstring nullable required

Copy propertyId from list_properties, or null to make this knowledge global across the business.

Response

Success

websiteIdstring required
sourceIdstring required
sourceType'website' required
activeboolean required
scope'property' | 'global' required
titlestring required
urlstring required
chunkCountinteger required
activeTokensinteger
selectedTokensinteger
rootUrlstring required
normalizedRootUrlstring required
crawlDepthinteger required
maxPagesinteger required
propertyIdstring
propertyNamestring
status'idle' | 'crawling' | 'failed' required
defaultEnabledboolean required
currentGenerationIdstring
totalPagesinteger required
enabledPagesinteger required
createdAtstring
updatedAtstring
lastCrawledAtstring

Changes

No recorded changes to this operation across all 1 revision of this API.