Skip to main content
Permanently delete a scenario and its associated schedules.
This will also delete all schedules associated with this scenario.
curl -X DELETE "https://api.chanl.ai/api/v1/workspaces/ws_123/scenarios/scenario_456" \
  -H "Authorization: Bearer <access_token>"
{
  "success": true,
  "data": {
    "message": "Scenario deleted successfully",
    "deleted_at": "2024-01-15T10:30:00Z",
    "impact": {
      "schedules_deleted": 2,
      "simulations_preserved": 156
    }
  }
}