--- id: azure-mgmt-apimanagement version: "5.0.0" license: MIT License license_treatment: permissive maintenance: active --- # azure-mgmt-apimanagement — Microsoft Azure API Management Client Library for Python License: permissive · Maintenance: active · Downloads: 5.8M/mo ## 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 above — 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 pip install azure-mgmt-apimanagement uv add azure-mgmt-apimanagement 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_current - Install friction: low - Maintenance: active - Downloads: 5.8M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags azure api management client, manage azure apis programmatically, azure api gateway python, azure api management sdk, azure api lifecycle management, azure api policies python, azure workspace management, azure-sdk, api-management, cloud-infrastructure [View on SkillFed](https://skillfed.io/packages/azure-mgmt-apimanagement) · [View on PyPI](https://pypi.org/project/azure-mgmt-apimanagement/)