# Api:Container Firewall

**Page:** api/api-container-firewall

[Download Raw Markdown](./api/api-container-firewall.md)

---

## API Endpoints Summary

- **GET** `/api/v1/containers/{id}/firewall/rules` — List container firewall rules
- **POST** `/api/v1/containers/{id}/firewall/reset` — Reset container firewall
- **POST** `/api/v1/containers/{id}/firewall/ingress` — Add Ingress Rule
- **PATCH** `/api/v1/containers/{id}/firewall/ingress` — Toggle Ingress Rule State
- **DELETE** `/api/v1/containers/{id}/firewall/ingress` — Remove Ingress Rule(s)
- **POST** `/api/v1/containers/{id}/firewall/egress` — Add Egress Rule
- **PATCH** `/api/v1/containers/{id}/firewall/egress` — Toggle Egress Rule State
- **DELETE** `/api/v1/containers/{id}/firewall/egress` — Remove Egress Rule(s)

## CLI

```bash
# CLI mapping will be generated from the SDK CLI sources in a later step.
# Example (placeholder):
# hoody-cli <command> --help
```