skillfed

azure-mgmt-apimanagement

Microsoft Azure API Management Client Library for Python

azure-mgmt-apimanagement v5.0.0 5.8M downloads/30d#2,042 on PyPI5,588
Permissive license MIT License Active released

What it is and what it does

This is the official Microsoft Azure SDK client library for programmatically managing Azure API Management services from Python. It wraps the Azure REST API and exposes operations for creating, updating, and deleting APIs, backends, policies, products, groups, and related resources. The library also includes workspace-scoped management, allowing multi-tenant API governance within a single API Management instance.

The package is built on azure-mgmt-core and azure-common for consistent Azure SDK patterns. It requires Python 3.8+ and uses Azure Active Directory token authentication via environment variables. Version 5.0.0 significantly expanded the API surface with workspace operations and new policy management features, making it suitable for enterprises managing complex API portfolios.

Use it for:

  • Automate API lifecycle management—create, version, and retire APIs across environments without manual portal access.
  • Enforce API governance policies programmatically—apply rate limits, authentication, and transformation rules to APIs.
  • Manage multi-tenant API platforms using workspaces to isolate API configurations for different teams or customers.
  • Integrate API Management operations into CI/CD pipelines for infrastructure-as-code API deployments.
  • Bulk configure backends, certificates, and diagnostics across many APIs in a single management script.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides Python client library for managing Azure API Management services, including APIs, backends, policies, products, and workspace configurations through the Azure REST API.

Yes. This is the official Microsoft SDK for Azure API Management, actively maintained, MIT-licensed, and widely used (top 5000 PyPI packages). Install it if you need to manage Azure API Management resources from Python code; it has low friction and no known vulnerabilities. Not needed if you only use the Azure Portal or CLI.

Install

azure-mgmt-apimanagement on PyPI

pip

pip install azure-mgmt-apimanagement

uv

uv add azure-mgmt-apimanagement

poetry

poetry add azure-mgmt-apimanagement

Installing azure-mgmt-apimanagement

Before you install

Low install friction with a pure Python wheel. Actively maintained with recent releases; last commit 2026-08-14. Supports Python 3.8+ across current versions.

License in practice

MIT License permits commercial and private use with minimal restrictions; suitable for most projects.

Quickstart

pip install azure-mgmt-apimanagement

from azure.mgmt.apimanagement import ApiManagementClient
from azure.common import AzureHttpAuthentication
import os

sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = ApiManagementClient(credential, subscription_id=sub_id)

Requires Azure subscription and environment variables: AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, AZURE_SUBSCRIPTION_ID for authentication.

Verify before relying

  • Whether workspace-scoped operations (workspace_api, workspace_product, etc.) are available in all Azure regions.
  • Performance characteristics and rate limits for bulk operations on large API inventories.
  • Backward compatibility guarantees between major versions given the 5.0.0 release added many new operation groups.
  • How to properly instantiate credential object for authentication with the client.

Package facts

License MIT License (permissive)
Python support supports the current Python release (>=3.8)
Install friction low — pure-Python wheel
Runtime dependencies 4 — isodate, typing-extensions, azure-common, azure-mgmt-core
Maintenance actively maintained — 479 days since the last release
Last repo commit
First released
Downloads 5,763,297/month — #2,042 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: azure_mgmt_apimanagement-5.0.0-py3-none-any.whl

Keywords: azure, azure sdk

Development Status :: 5 - Production/StableLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Tags

azure api management clientmanage azure apis programmaticallyazure api gateway pythonazure api management sdkazure api lifecycle managementazure api policies pythonazure workspace management
azure-sdkapi-managementcloud-infrastructure

More Internet packages

botocore

Botocore provides low-level, data-driven access…

permissive · top 100 on PyPI

aiobotocore

Provides an async client for AWS services using…

permissive · top 100 on PyPI

pydantic

Pydantic validates Python data structures…

permissive · top 100 on PyPI

filelock

Provides a platform-independent file locking…

permissive · top 100 on PyPI

fastapi

FastAPI is a Python web framework for building…

permissive · top 100 on PyPI

googleapis-common-protos

Provides common Protocol Buffer message…

permissive · top 100 on PyPI

azure-mgmt-servicebus

Manages Azure Service Bus resources…

permissive · top 5,000 on PyPI

azure-mgmt-managementpartner

Provides a Python client library for managing…

unclear · top 5,000 on PyPI

azure-mgmt-costmanagement

Provides Python bindings to the Azure Cost…

permissive · top 5,000 on PyPI

azure-mgmt-web

Provides programmatic management of Azure Web…

permissive · top 5,000 on PyPI

azure-mgmt-network

Manages Azure network resources (virtual…

permissive · top 5,000 on PyPI

azure-mgmt-containerservice

Provides Python bindings to manage Azure…

permissive · top 5,000 on PyPI

azure-mgmt-botservice

Provides Python bindings to manage Azure Bot…

permissive · top 5,000 on PyPI

azure-mgmt-compute

Provides Python bindings to manage Azure…

permissive · top 5,000 on PyPI

azure-mgmt-cdn

Manages Azure CDN resources (profiles,…

permissive · top 5,000 on PyPI

azure-mgmt-appplatform

Manages Azure App Platform (Spring Apps)…

permissive · top 15,000 on PyPI