curl --request POST \
--url https://api.botpress.cloud/v1/tables/{table}/rows/delete \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-bot-id: <x-bot-id>' \
--data '
{
"ids": [
123
],
"filter": {},
"deleteAllRows": true
}
'{
"deletedRows": 123
}Allows selective deletion of rows or complete clearance of a table.
curl --request POST \
--url https://api.botpress.cloud/v1/tables/{table}/rows/delete \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-bot-id: <x-bot-id>' \
--data '
{
"ids": [
123
],
"filter": {},
"deleteAllRows": true
}
'{
"deletedRows": 123
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bot id
Integration id
Integration alias
Integration name
User Id
User Role
The table's name or unique identifier for targeting specific table operations.
Identifiers of the rows to be deleted.
Confirms the number of rows successfully deleted.
Was this page helpful?