code: def test_delete_dashboard_api(self):
      list_response = self.client.get("/api/dashboards/")
      list_data = list_response.json()
      dashboard_id = list_data[0]["id"]
      response = self.client.delete(f"/api/dashboards/{dashboard_id}/")
      self.assertEqual(200, response.status_code)
      get_response = self.client.get(f"/api/dashboards/{dashboard_id}/")
      self.assertEqual(404, get_response.status_code)
  
file_path: aim/tests/api/test_dashboards_api.py
imports: from tests.base import PrefilledDataApiTestBase
label_desc: Use image node_id 6 for calling the TestDashboardsApi obj's underlying member method code with example usage: obj.test_delete_dashboard_api() without return types