Skip to main content
DELETE
/
bot
/
{botId}
/
testSession
/
{leadId}
Delete a test session
curl --request DELETE \
  --url https://api.closebot.com/bot/{botId}/testSession/{leadId} \
  --header 'X-CB-KEY: <api-key>'
{
  "type": "<string>",
  "title": "<string>",
  "status": 123,
  "detail": "<string>",
  "instance": "<string>"
}

Authorizations

X-CB-KEY
string
header
required

CloseBot API Key Authorization

Path Parameters

botId
string
required

The bot ID.

leadId
string
required

The lead ID.

Response

Success