Change knowledge source applicability

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.

patch/knowledge/sources/{sourceId}/property

Request

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

Path parameters

sourceIdstring required

Copy sourceId from list_knowledge_sources; 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

sourceIdstring required
scope'property' | 'global' required
propertyIdstring
propertyNamestring

Changes

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