title | description | services | author | ms.service | ms.topic | ms.date | ms.author |
---|---|---|---|---|---|---|---|
Edit an API with the Azure portal | Microsoft Docs |
Learn how to use API Management to edit an API. Add, delete, or rename operations in the APIM instance, or edit the API's swagger. |
api-management |
dlepow |
azure-api-management |
article |
01/19/2022 |
danlep |
[!INCLUDE api-management-availability-all-tiers]
The steps in this tutorial show you how to use API Management to edit an API.
- You can add, rename, or delete operations in the Azure portal.
- You can edit your API's swagger.
[!INCLUDE api-management-navigate-to-instance.md]
- Click the APIs tab.
- Select one of the APIs that you previously imported.
- Select the Design tab.
- Select an operation, which you want to edit.
- To rename the operation, select a pencil in the Frontend window.
You can update your backend API from the Azure portal by following these steps:
-
Select All operations
-
Click pencil in the Frontend window.
Your API's swagger appears.
-
Update the swagger.
-
Press Save.
Caution
If you are editing a non-current revision of an API, you cannot change the following properties:
- Name
- Type
- Description
- Subscription required
- API version
- API version description
- Path
- Protocols
If your edits change any of the above properties of a non-current revision, the error message
Can't change property for non-current revision
will be displayed.
[!INCLUDE api-management-define-api-topics.md]
[!div class="nextstepaction"] APIM policy samples Transform and protect a published API