Azure API Management enables developers to deploy API gateways for APIs hosted in Microsoft Azure, other cloud platforms, or on-premises. Once connected to Azure API Management, you can view your API deployment status and history from within Postman. You can also export your OpenAPI definition from Postman to Azure API Management, or import a definition from Azure to use it in Postman.
Select APIs in the sidebar and select an API.
Select Deployments, and then select Microsoft Azure.
You'll be prompted to authorize Postman to access your Microsoft Azure account. After you grant access, you can close the browser tab and return to Postman.
Enter information about the Azure API Management service you want to connect to your API:
To connect more Azure API Management services, select + Add Service. To remove a service, select Remove.
When you're finished adding services, select Connect.
If you want, you can choose to import a definition from Azure API Management:
After connecting to Azure API Management, you can view the deployment status and history for your API definition in Postman. Select APIs in the sidebar and select an API, then select Deployments.
For each connected API Management service instance, you can view the resource group, location, subscription, and virtual IP address (VIP).
Select a service to view more details about the connected Azure API version.
Revisions - Revisions enable you make and test changes to your API without affecting consumers. For each revision, you can view the revision ID, date created, description, URL, and Postman source.
Changelog - The changelog shows the deployment history for your API. Each time you make a revision current, Postman adds an entry to the changelog, including the date created, the date last updated, and a description of the change.
Export History - The export history lists all exports from Postman for this API. For each export, you can view the date created, the Azure revision, and the Postman source.
From the service details view, you can take the following actions:
You can import a definition from a connected Azure API Management service to your API in Postman. Importing a definition will replace your current API definition or add a new definition if one doesn't exist.
Exporting an OpenAPI definition makes it available in the connected Azure API Management service. OpenAPI 2.0 and 3.0 definitions are supported. You can export the definition to an existing revision or to a new revision.
Select APIs in the sidebar and select an API.
Select Deployments.
Select the service you want to export to, and then select Export API.
Select the source of the definition you want to export. You can select the current definition or any published version of the definition.
Enter a brief description for the export.
(Optional) If you want to export the definition to an existing revision, select the checkbox. Select the Revision ID of the revision you want to update.
If you don't select the checkbox, Postman exports the API to a new revision.
Select Export.
After exporting, you can use the Current toggle to make the new or updated revision the current revision.
If you have problems exporting your definition, check the following:
Some definition fields (such as name, description, and protocols) must be updated on the current revision and can't be updated on other revisions. To update these fields on revisions that aren't the current revision, perform a manual merge instead.
Some properties of the OpenAPI specification aren't supported by Azure API Management. For more information, see the Microsoft help article API import restrictions and known issues.
Last modified: 2024/07/01
Additional resources
Videos
Blog posts