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

# delete OPA policy (server mode)

`DELETE /config/api/opa/policy`

## Request

- The document declares no server URL.
- Auth: none declared

## Query parameters

- `server_url` string
- `policy_id` string
- `bearer_token` string

## Response `200`

OK

- string

## Changes

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

[Operation history](https://skmtc.dev/apache/apis/the-apache-software-foundation-admin-api/changes/config/api/opa/policy/delete.md)

---

[API](https://skmtc.dev/apache/apis/the-apache-software-foundation-admin-api.md) - [All operations](https://skmtc.dev/apache/apis/the-apache-software-foundation-admin-api/llms.txt) - [OpenAPI document](https://skmtc.dev/apache/apis/the-apache-software-foundation-admin-api/revisions/ff6f3aa9acae?raw)
