azure api management already exists

VREMES Vlad 36 Reputation points
2021-02-03T10:44:40.813+00:00

How do you delete API management if you have already deleted it?

I get error that the azure api management already exists when I try to deploy a new one, but I have already deleted it in the azure portal.

I cannot deleted it even with powershell.

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

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 69,756 Reputation points
    2021-02-03T10:54:56.717+00:00

    Hi @VREMES Vlad

    Apologies for any inconvenience with this issue.

    Recently product team has implemented the API Management soft delete feature. In this feature, you can recover and restore recently deleted API Management (APIM) instances. If your APIM instance is not recovered within 48 hours, it will be hard deleted (unrecoverable).

    You can also choose to purge (permanently delete) your APIM instance, forgoing soft-delete retention period. Therefore once you have deleted the APIM service you need to purge soft delete APIM instance as this feature will help customers to recover their APIM service in accidental delete.

    Please execute purge API to permanently delete your service so you can recreate it again with the same name. To pass the required parameter in execute purge API please execute the Deleted Service API detail API.

    The API Management soft delete document has all the required information. Feel free to get back to me if you need any assistance.

    Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.