Show examples in:
Delete a workflow

Examples

Example Basic example
import { buildClient } from '@datocms/cma-client-node';
async function run() {
const client = buildClient({ apiToken: '<YOUR_API_TOKEN>' });
const workflowId = 'uJzC2b6YQg-DW2A5edpQYQ';
await client.workflows.destroy(workflowId);
}
run();