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,
"job": {
"id": "<string>",
"status": "<string>"
}
}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,
"job": {
"id": "<string>",
"status": "<string>"
}
}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.
1000x <= 2147483647Filter to apply when deleting rows. Deletion with a filter is performed asynchronously in batches and returns a job object to track progress. Example: { "createdAt": { "$lt": "2026-01-01" } }
Flag to delete all rows. Use with caution as this action is irreversible.
Was this page helpful?