import Roark from '@roarkanalytics/sdk';const client = new Roark({ bearerToken: process.env['ROARK_API_BEARER_TOKEN'], // This is the default and can be omitted});const simulationRunPlan = await client.simulationRunPlan.delete( '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',);console.log(simulationRunPlan.data);
{ "data": { "deleted": true }}
Simulation Run Plan
Delete a run plan
Soft-deletes a simulation run plan by its ID.
DELETE
/
v1
/
simulation
/
plan
/
{planId}
JavaScript
import Roark from '@roarkanalytics/sdk';const client = new Roark({ bearerToken: process.env['ROARK_API_BEARER_TOKEN'], // This is the default and can be omitted});const simulationRunPlan = await client.simulationRunPlan.delete( '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',);console.log(simulationRunPlan.data);