Skip to main content
POST
/
v1
/
tables
/
{table_id}
/
enhance
/
cancel
// Cancel all pending enhancements
const result = await client.enhance.cancel("tbl_abc123");
console.log(result.cancelled_count);

// Cancel for a specific column
const result2 = await client.enhance.cancel("tbl_abc123", "description");
console.log(result2.cancelled_count);
{
  "cancelled_count": 12
}

Path parameters

table_id
string
required
The unique identifier of the table.

Request body

column_key
string
Cancel enhancements for a specific column only. Omit to cancel all pending enhancements.

Response

cancelled_count
integer
Number of enhancement operations cancelled.
Only enhancements with pending or processing status can be cancelled. Already completed enhancements are not affected.
// Cancel all pending enhancements
const result = await client.enhance.cancel("tbl_abc123");
console.log(result.cancelled_count);

// Cancel for a specific column
const result2 = await client.enhance.cancel("tbl_abc123", "description");
console.log(result2.cancelled_count);
{
  "cancelled_count": 12
}