Space Sites

Delete Space Site

Delete a space site

post
/v1/space/{spaceId}/site/{siteId}/delete

Authorization

ChatBotKit API Secret * Required

HTTP Authorization Scheme: bearer

Path Parameters

spaceIdstring* Required

siteIdstring* Required

The ID of the site to delete

Request Body * Required

Request Body Schema: application/json

import { ChatBotKit } from '@chatbotkit/sdk'

const cbk = new ChatBotKit({

secret: process.env.CHATBOTKIT_API_KEY!

})

const response = await cbk.space.site.delete(

spaceId, siteId,
{}
)
{
"id":"string"
}
The site was deleted successfully