---
title: "Assign cluster firewall"
method: POST
path: "/api/v1/k8s/clusters/{cluster_id}/firewall"
tags: ["Kubernetes"]
---

# Assign cluster firewall

`POST /api/v1/k8s/clusters/{cluster_id}/firewall`

## Path parameters

- `cluster_id` string, required

## Headers

- `X-Project-ID` string, uuid, required

## Request body

- object
  - `security_group_id` string, uuid, required

## Response `200`

Security group assigned

- SuccessResponse
  - `success` boolean
  - `message` string

## Other responses

- `404` — Resource not found

## Changes

- **2026-08-23** `72c803a128b2` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/rafftechnologies/apis/raff-api/changes/api/v1/k8s/clusters/:cluster_id/firewall/post.md)

---

[API](https://skmtc.dev/rafftechnologies/apis/raff-api.md) · [All operations](https://skmtc.dev/rafftechnologies/apis/raff-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/rafftechnologies/raff-api/revisions/2f4df56be77c/schema)
