---
title: "Apply automated fix for a security finding"
method: POST
path: "/api/clusters/{clusterName}/security/fix-state/{errKey}"
tags: ["ClusterSecurity"]
---

# Apply automated fix for a security finding

`POST /api/clusters/{clusterName}/security/fix-state/{errKey}`

## Path parameters

- `clusterName` string, required
- `errKey` string, required

## Headers

- `Authorization` string, required

## Response `200`

Fix applied

- string

## Other responses

- `400` — No automated fix for this code
- `404` — Cluster not found
- `500` — Execution error

---

[API](https://skmtc.net/signal18/apis/untitled-api.md) · [All operations](https://skmtc.net/signal18/apis/untitled-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/signal18/untitled-api/revisions/7465ea0ee21a/schema)
