Imposible to delete Azure API Management - Standard V1

Wayne Yuan 0 Reputation points
2025-01-29T21:16:45.85+00:00

I can't delete APIM Standard V1 instances. The stv1 instances are no longer supported by Microsoft. I have upgraded all the APIM instances to stv2 but can't get rid of old stv1 instances. It always in "Deletefailed" state.

I have tried following api call to delete the soft deleted instance

https://management.azure.com/subscriptions/{{subscriptionId}}/providers/Microsoft.ApiManagement/locations/{{location}}/deletedservices/{{serviceName}}?api-version=2024-05-01

But get following error:

{
    "error": {
        "code": "ServiceNotFound",
        "message": "Api service does not exist: apim-ali-arhs-dv-eus2-01",
        "details": null,
        "innerError": null
    }
}

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,287 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.