Update Azure APIM Name (Api.Id) after cloning using Azure Portal?

991 views Asked by At

Is it possible to manually change the API Name (a.k.a. Api.Id) of an Azure API after it has been created to something else (I understand that it has to be unique).

When creating a new API, the name (Api.Id) is user-friendly (e.g. same as the display name but all lower case with dashes). If this API is cloned, then the Name (Api.Id) becomes a GUID and is no longer user-friendly. I would like to update it so I can enter a human meaningful Name (e.g. lowercase with dashes... )

EDIT: The question is not about how to rename an "API Operation Name" when having cloned an operation. My question is about renaming an "API Name" when having cloned an API. enter image description here

2

There are 2 answers

7
AudioBubble On

One of the workarounds to rename the cloned API in APIM Instance is:

Go to the APIM Instance > APIs > Select your API > Select the Operation you want to rename it > Click on Pencil Icon as shown here: enter image description here

Now Click on Open Specification view Option: enter image description here

Change the Operation Id on the Open Specification View Code displayed for that API:

clonedapimrenamingbykrish

Result: enter image description here

0
Cari M On

Select the API, Select the Settings tab, Change the Display name. Select Save.

You do not need to touch the operations.