delete

/dataspace/tables/{tableId}/truncate

TruncateTable

TruncateTable API call performs the truncate operation on a target data table. Truncate operation is used to delete all of the data from an existing table’s rows and columns, keeping the table structure intact. Truncate process removes all the data in a single operation.

The data in a data table which has an active relation with master_contact table cannot be truncated. The prerequisite for this operation is to remove the relation between the two mentioned tables.

Request Parameters

1 Path Parameter
1 Header

Responses

The table is successfully truncated.

1 Example
Schema
object
transactionId
string
code
integer
message
string
data
null

Send a Test Request

Send requests directly from the browser (CORS must be enabled)
Path Params
1 path param not set
tableId
$$.env
1 variable not set
access_token