Skip to main content
PATCH
Change applicability of a managed website

Autorizaciones

Authorization
string
header
requerido

Server-side tenant-scoped credential created from Build > API Keys.

Parámetros de ruta

websiteId
string
requerido

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.

Maximum string length: 128

Cuerpo

application/json
propertyId
string | null
requerido

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

Maximum string length: 128

Respuesta

Success

websiteId
string
requerido
Maximum string length: 128
sourceId
string
requerido
Maximum string length: 128
sourceType
enum<string>
requerido
Opciones disponibles:
website
active
boolean
requerido
scope
enum<string>
requerido
Opciones disponibles:
property,
global
title
string
requerido
Maximum string length: 160
url
string
requerido
Maximum string length: 2048
chunkCount
integer
requerido
Rango requerido: x >= 0
rootUrl
string
requerido
Maximum string length: 2048
normalizedRootUrl
string
requerido
Maximum string length: 2048
crawlDepth
integer
requerido
Rango requerido: 1 <= x <= 10
maxPages
integer
requerido
Rango requerido: 1 <= x <= 500
status
enum<string>
requerido
Opciones disponibles:
idle,
crawling,
failed
defaultEnabled
boolean
requerido
selectionRules
object[]
requerido
totalPages
integer
requerido
Rango requerido: x >= 0
enabledPages
integer
requerido
Rango requerido: x >= 0
activeTokens
integer
Rango requerido: x >= 0
selectedTokens
integer
Rango requerido: x >= 0
createdBy
object
propertyId
string
Maximum string length: 128
propertyName
string
Maximum string length: 160
currentGenerationId
string
Maximum string length: 128
latestJob
object
pages
object[]
Maximum array length: 500
createdAt
string
Maximum string length: 128
updatedAt
string
Maximum string length: 128
lastCrawledAt
string
Maximum string length: 128