capabilities.work

Azure API Management Upsert API

A 3-step recipe with Microsoft Azure API Management. We can help you get access.

Recipe · 3 steps

Azure API Management Upsert API

Upsert an API definition into an API Management service.

  1. List the APIs already registered on the service so the flow can detect an existing definition for the target identifier.
  2. Patch the existing API with an updated description, leaving other properties intact.
  3. Create a new API with the supplied display name, path, and backend service URL when no matching API was found.
What you'll need to have ready
  • subscriptionId: The Azure subscription identifier.
  • resourceGroupName: The resource group containing the service.
  • serviceName: The API Management service name.
  • apiId: The API identifier to upsert.
  • displayName: The human-readable API display name.
  • description: The API description.
  • path: The API URL suffix/path on the gateway.
  • serviceUrl: The backend service URL the API proxies to.
For your developer

Arazzo workflow microsoft-azure-api-management:upsert-api, 3 operations: Api_ListByService → Api_Update → Api_CreateOrUpdate. Specs on APIs.io.