# Azure SQL Database Firewall Rules API

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

Azure SQL Database Firewall Rules API is one of 5 APIs that [Azure SQL Database](https://apis.io/providers/microsoft-azure-sql-database/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Firewall Rules. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and authentication docs.

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

## Operations (3)

| Method | Path | Summary |
|---|---|---|
| GET | `/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/firewallRules` | List firewall rules by server |
| PUT | `/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/firewallRules/{firewallRuleName}` | Create or update firewall rule |
| DELETE | `/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/firewallRules/{firewallRuleName}` | Delete firewall rule |

## Machine-readable artifacts (3)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/microsoft-azure-sql-database/refs/heads/main/openapi/microsoft-azure-sql-database-firewall-rules-api-openapi.yml
- **Documentation** — https://learn.microsoft.com/en-us/rest/api/sql/
- **Authentication** — https://learn.microsoft.com/en-us/azure/active-directory/develop/authentication-flows-app-scenarios

## Other Azure SQL Database APIs (4)

- [Azure SQL Database Databases API](https://apis.io/apis/microsoft-azure-sql-database/microsoft-azure-sql-database-databases-api/)
- [Azure SQL Database ElasticPools API](https://apis.io/apis/microsoft-azure-sql-database/microsoft-azure-sql-database-elasticpools-api/)
- [Azure SQL Database FailoverGroups API](https://apis.io/apis/microsoft-azure-sql-database/microsoft-azure-sql-database-failovergroups-api/)
- [Azure SQL Database Servers API](https://apis.io/apis/microsoft-azure-sql-database/microsoft-azure-sql-database-servers-api/)

## Tags

Firewall Rules

---

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