---
title: "Changes to Create a new firewall rule"
method: POST
path: "/project/{project_id}/location/{location}/firewall/{firewall_reference}/firewall-rule"
---

# Changes to Create a new firewall rule

`POST /project/{project_id}/location/{location}/firewall/{firewall_reference}/firewall-rule`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 3 of 59 revisions.

- **2026-05-21** `65eaca27bbb7` — 3 info
- **2025-11-04** `d468e27625fc` — 5 breaking, 1 info
- **2025-10-25** `d81708f425bb` — 2 info

## Changes

- **2026-05-21** `65eaca27bbb7` — 3 info
  - added the new optional request property `protocol`
  - added the required property `anyOf[#/components/schemas/FirewallRule]/protocol` to the response with the `200` status
  - added the required property `anyOf[subschema #2]/items/protocol` to the response with the `200` status
- **2025-11-04** `d468e27625fc` — 5 breaking, 1 info
  - the response's body type changed from `object` to no type for status `200`
  - removed the required property `cidr` from the response with the `200` status
  - removed the required property `description` from the response with the `200` status
  - removed the required property `id` from the response with the `200` status
  - removed the required property `port_range` from the response with the `200` status
  - added `#/components/schemas/FirewallRule, subschema #2` to the response body `anyOf` list for the response status `200`
- **2025-10-25** `d81708f425bb` — 2 info
  - added the new optional request property `description`
  - added the required property `description` to the response with the `200` status

---

[Operation](https://skmtc.dev/ubicloud/apis/clover-api/docs/project/:project_id/location/:location/firewall/:firewall_reference/firewall-rule/post.md) · [API](https://skmtc.dev/ubicloud/apis/clover-api.md) · [Page](https://skmtc.dev/ubicloud/apis/clover-api/changes/project/:project_id/location/:location/firewall/:firewall_reference/firewall-rule/post)
