---
title: "Delete a policy"
method: DELETE
path: "/api/v1/delete-policy/{name}"
tags: ["policies"]
---

# Delete a policy

`DELETE /api/v1/delete-policy/{name}`

Deletes a MaaSAuthPolicy resource by name.
K8s calls: DELETE /k8s/v1/maasauthpolicy/:name

## Path parameters

- `name` string, required

## Response `200`

Policy deleted successfully

- object
  - `message` string — Success message

## Other responses

- `401` — Unauthorized
- `404` — Policy not found
- `500` — Internal Server Error

---

[API](https://skmtc.net/opendatahub-io/apis/maas-bff-api.md) · [All operations](https://skmtc.net/opendatahub-io/apis/maas-bff-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/opendatahub-io/maas-bff-api/revisions/9112415ceeca/schema)
