Thank you for reaching Microsoft Q&A!
I understand that you are trying to delete the Enterprise Application from your tenant.
To remove the Enterprise Application, you need one of the following roles Cloud Application Administrator, Application Administrator and owner of the service principal.
use the below Microsoft Graph API to delete application.
DELETE https://graph.microsoft.com/v1.0/servicePrincipals/{servicePrincipal-id}
Replace the ServicePrinipad-id with Object ID of the application which as shown in the below picture.
Reference: Delete an enterprise application
Hope this helps. If this is not your query do let us know by responding in the comments section.
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.