capabilities.work

Azure API Management Upsert User

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

Recipe · 3 steps

Azure API Management Upsert User

Upsert a developer user into an API Management service.

  1. List existing users so the flow can detect whether the target user identifier already exists.
  2. Patch the existing user with updated name fields.
  3. Create a new user with email and name when no matching user 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.
  • userId: The user identifier to upsert.
  • email: The user's email address.
  • firstName: The user's first name.
  • lastName: The user's last name.
For your developer

Arazzo workflow microsoft-azure-api-management:upsert-user, 3 operations: User_ListByService → User_Update → User_CreateOrUpdate. Specs on APIs.io.