Update Sitemap Integration

Update a Sitemap integration

post
/v1/integration/sitemap/{sitemapIntegrationId}/update

Authorization

ChatBotKit API Secret * Required

HTTP Authorization Scheme: bearer

Path Parameters

sitemapIntegrationIdstring* Required

The ID of the Sitemap integration

Request Body * Required

Request Body Schema: application/json

namestring

The associated name

descriptionstring

The associated description

metaobject

Meta data information

datasetIdstring

The ID of the dataset to use for this Sitemap integration

urlstring

The URL to use for this Sitemap integration

globstring

The glob rules to use for this Sitemap integration

selectorsstring

The selector rules to use for this Sitemap integration

javascriptboolean

Indicates if the Sitemap integration should use JavaScript during the spidering process

syncSchedulestring

The sync schedule to use for this Sitemap integration

expiresInnumber

Record expiry in milliseconds

curl -X POST "https://api.chatbotkit.com/v1/integration/sitemap/{sitemapIntegrationId}/update" \

-H "Authorization: Bearer $CHATBOTKIT_API_SECRET" \

-H "Content-Type: application/json" \

--data-binary @- << EOF {
"name":"string",
"description":"string",
"meta":"object",
"datasetId":"string",
"url":"string",
"glob":"string",
"selectors":"string",
"javascript":"boolean",
"syncSchedule":"string",
"expiresIn":"number"
}
EOF
{
"id":"string"
}
The Sitemap integration was updated successfully