I am able to access dashboards using the following api call-
url2 = server + "/api/dashboards/uid/" + uid #uid of dashboard
r = requests.get(url=url2, headers=headers, verify=False)
From this I can retrieve panel details in a particular dashboard.
Is there any way I can delete a panel inside this dashboard with or without grafana api?