Sorry, no results found for "".

Show examples in:
Javascript HTTP
Endpoint info
Available examples

Content Management API > Workflow

Delete a workflow

Examples

import { buildClient } from "@datocms/cma-client-node";
async function run() {
const client = buildClient({ apiToken: process.env.DATOCMS_API_TOKEN });
const workflowId = "uJzC2b6YQg-DW2A5edpQYQ";
await client.workflows.destroy(workflowId);
}
run();