import { buildClient } from '@datocms/cma-client-node';
async function run() {
const client = buildClient({ apiToken: '<YOUR_API_TOKEN>' });
const itemId = 'hWl-mnkWRYmMCSTq4z_piQ';
const item = await client.items.destroy(itemId);
console.log(item);
}
run();