Api service already exists

Artur de Almeida Ribeiro 31 Reputation points
2020-12-02T21:17:42.677+00:00

When trying to deploy my azure function with apim I get the following error:

Conflict - {
"code": "ServiceAlreadyExists",
"message": "Api service already exists: sls-eus-dev-56b704-apim",
"details": null,
"innerError": null
}

I deleted this resource 2 days ago.

I need some help with deploying

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

Accepted answer
  1. MayankBargali-MSFT 67,691 Reputation points
    2020-12-03T02:54:49.373+00:00

    Hi @Artur de Almeida Ribeiro

    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.

    3 people found this answer helpful.

0 additional answers

Sort by: Most helpful