How can I delete my end device

select the device and under general settings their is a button to delete end device

for application under general settings right at the bottom their is delete application

Hello, I cannot select the end device, then I cannot view general settings of the end device.
If I want to delete the application the message is " Submit failed application still has 1 devices"

Please see the pictures.

I’d appreciate any help or guidance from the community. Has anyone successfully deleted end devices or gateways in TTN v3 using the API, and can you provide assistance or example code?