## Deletes a Workflow `client.workflows.delete(stringworkflowName, WorkflowDeleteParamsparams, RequestOptionsoptions?): WorkflowDeleteResponse` **delete** `/accounts/{account_id}/workflows/{workflow_name}` Deletes a Workflow. This only deletes the Workflow and does not delete or modify any Worker associated to this Workflow or bounded to it. ### Parameters - `workflowName: string` - `params: WorkflowDeleteParams` - `account_id: string` ### Returns - `WorkflowDeleteResponse` - `status: "ok"` - `"ok"` - `success: boolean | null` ### Example ```node import Cloudflare from 'cloudflare'; const client = new Cloudflare({ apiToken: process.env['CLOUDFLARE_API_TOKEN'], // This is the default and can be omitted }); const workflow = await client.workflows.delete('x', { account_id: 'account_id' }); console.log(workflow.status); ``` #### Response ```json { "errors": [ { "code": 0, "message": "message" } ], "messages": [ { "code": 0, "message": "message" } ], "result": { "status": "ok", "success": true }, "success": true, "result_info": { "count": 0, "per_page": 0, "total_count": 0, "cursor": "cursor", "page": 0 } } ```