Delete
client.workflows.delete(stringworkflowID, RequestOptionsoptions?): WorkflowDeleteResponse
DELETE/workflows/{workflowId}
Delete
import Scenario from '@scenario-labs/sdk';
const client = new Scenario({
apiKey: process.env['SCENARIO_SDK_API_KEY'], // This is the default and can be omitted
apiSecret: process.env['SCENARIO_SDK_API_SECRET'], // This is the default and can be omitted
});
const workflow = await client.workflows.delete('workflowId');
console.log(workflow);{}Returns Examples
{}