---
title: "Update policy profile"
method: PUT
path: "/api/v1/opaprofiles"
tags: ["Opa Profiles"]
---

# Update policy profile

`PUT /api/v1/opaprofiles`

## Request body

- OpaProfileUpdateCommand
  - `id` integer
  - `name` string, nullable
  - `forbidNodePort` boolean, nullable
  - `forbidHttpIngress` boolean, nullable
  - `requireProbe` boolean, nullable
  - `uniqueIngresses` boolean, nullable
  - `uniqueServiceSelector` boolean, nullable
  - `isNodeNameForbiddenInVC` boolean, nullable
  - `isMasterTaintEnforced` boolean, nullable
  - `forcePodResource` boolean, nullable
  - `allowedRepo` string[], nullable
  - `forbidSpecificTags` string[], nullable
  - `ingressWhitelist` string[], nullable
  - `whitelistMasterTaintNamespaces` string[], nullable

## Response `200`

OK

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `409` — Conflict
- `500` — Internal Server Error

---

[API](https://skmtc.dev/taikun/apis/taikun-webapi.md) · [All operations](https://skmtc.dev/taikun/apis/taikun-webapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/taikun/taikun-webapi/revisions/09395964d191/schema)
