Skip to main content
POST
Rollback a test session

Authorizations

X-CB-KEY
string
header
required

CloseBot API Key Authorization

Path Parameters

leadId
string
required
botId
string
required

Body

messageId
string | null

The ID of the first message to delete. All subsequent messages will also be deleted.

Response

Success

deletedMessageIds
string[] | null

The IDs of the deleted messages

deletedActionIds
string[] | null

The IDs of the deleted actions