---
title: "upload OPA policy (server mode)"
method: PUT
path: "/config/api/opa/policy"
tags: ["Config"]
---

# upload OPA policy (server mode)

`PUT /config/api/opa/policy`

## Response `200`

OK

- string

## Changes

- **2026-03-02** `e21f5baf21bb` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/apache/apis/untitled-api/changes/config/api/opa/policy/put.md)

---

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