# Azure Database for PostgreSQL Firewall Rules API

**Canonical:** https://apis.io/apis/microsoft-azure-postgresql/microsoft-azure-postgresql-firewall-rules-api/  
**Provider:** Azure Database for PostgreSQL — https://apis.io/providers/microsoft-azure-postgresql/  
**Base URL:** https://management.azure.com  
**Documentation:** https://learn.microsoft.com/en-us/rest/api/postgresql/

Azure Database for PostgreSQL Firewall Rules API is one of 18 APIs that [Azure Database for PostgreSQL](https://apis.io/providers/microsoft-azure-postgresql/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 2 JSON Schema definitions. Tagged areas include Firewall Rules. The published artifact set on APIs.io includes an OpenAPI specification and 2 JSON Schemas.

The Firewall Rules API from Azure Database for PostgreSQL — 2 operation(s) for firewall rules.

## Operations (4)

| Method | Path | Summary |
|---|---|---|
| GET | `/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/firewallRules` | Firewall rules list by server |
| GET | `/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/firewallRules/{firewallRuleName}` | Firewall rules get |
| PUT | `/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/firewallRules/{firewallRuleName}` | Firewall rules create or update |
| DELETE | `/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/firewallRules/{firewallRuleName}` | Firewall rules delete |

## Machine-readable artifacts (3)

- **OpenAPI** — https://artifacts.apis.io/microsoft-azure-postgresql/openapi/microsoft-azure-postgresql-firewall-rules-api-openapi.yml
- **JSONSchema** — https://artifacts.apis.io/microsoft-azure-postgresql/json-schema/microsoft-azure-postgresql-firewall-rule-list-schema.json
- **JSONSchema** — https://artifacts.apis.io/microsoft-azure-postgresql/json-schema/microsoft-azure-postgresql-firewall-rule-schema.json

## Other Azure Database for PostgreSQL APIs (12)

- [Azure Database for PostgreSQL Operations API](https://apis.io/apis/microsoft-azure-postgresql/microsoft-azure-postgresql-operations-api/)
- [Azure Database for PostgreSQL Servers API](https://apis.io/apis/microsoft-azure-postgresql/microsoft-azure-postgresql-servers-api/)
- [Azure Database for PostgreSQL Administrator Microsoft Entras API](https://apis.io/apis/microsoft-azure-postgresql/microsoft-azure-postgresql-administratormicrosoftentras-api/)
- [Azure Database for PostgreSQL Advanced Threat Protection Settings Models API](https://apis.io/apis/microsoft-azure-postgresql/microsoft-azure-postgresql-advancedthreatprotectionsettingsmodels-api/)
- [Azure Database for PostgreSQL Backup Automatic And On Demands API](https://apis.io/apis/microsoft-azure-postgresql/microsoft-azure-postgresql-backupautomaticandondemands-api/)
- [Azure Database for PostgreSQL Backups Long Term Retention Operations API](https://apis.io/apis/microsoft-azure-postgresql/microsoft-azure-postgresql-backupslongtermretentionoperations-api/)
- [Azure Database for PostgreSQL Configurations API](https://apis.io/apis/microsoft-azure-postgresql/microsoft-azure-postgresql-configurations-api/)
- [Azure Database for PostgreSQL Databases API](https://apis.io/apis/microsoft-azure-postgresql/microsoft-azure-postgresql-databases-api/)
- [Azure Database for PostgreSQL Maintenance Events API](https://apis.io/apis/microsoft-azure-postgresql/microsoft-azure-postgresql-maintenanceevents-api/)
- [Azure Database for PostgreSQL Major Version Upgrade Precheck API](https://apis.io/apis/microsoft-azure-postgresql/microsoft-azure-postgresql-majorversionupgradeprecheck-api/)
- [Azure Database for PostgreSQL Migrations API](https://apis.io/apis/microsoft-azure-postgresql/microsoft-azure-postgresql-migrations-api/)
- [Azure Database for PostgreSQL Private Link Resources API](https://apis.io/apis/microsoft-azure-postgresql/microsoft-azure-postgresql-privatelinkresources-api/)

## Tags

Firewall Rules

## Use this from code or an agent

- **REST, no key:** `GET https://apis.io/api/v1/providers/microsoft-azure-postgresql` returns the provider's full profile as JSON.
- **MCP:** `https://apis.io/mcp` (Streamable HTTP) — search the catalog, read any provider, compare providers, check agent readiness.
- **Free API key** for catalog-wide search, ratings and comparisons: sign in with GitHub, Google or LinkedIn at https://apis.io/developer/account/ (plans: https://apis.io/developer/plans/).

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/microsoft-azure-postgresql/microsoft-azure-postgresql-firewall-rules-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/microsoft-azure-postgresql/.
