---
title: "Delete Project Policy"
method: DELETE
path: "/v1/projects/{projectId}/policies/{policyId}"
tags: ["Project Policies"]
---

# Delete Project Policy

`DELETE /v1/projects/{projectId}/policies/{policyId}`

## Request

- Base URL: `https://api.confident-ai.com`
- URL: `https://api.confident-ai.com/v1/projects/{projectId}/policies/{policyId}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/confident-ai/apis/confident-ai-metrics-api/docs/v1/projects/:projectId/policies/:policyId/delete.ts> (a function with typed inputs; its response is checked against the schema)

Deletes a custom project policy.

## Path parameters

- `projectId` string, required
- `policyId` string, required

## Response `200`

- DeletePolicyResponse
  - `success` boolean, required: Indicates if the request was successful
  - `data` object, required
    - `id` string: ID of the deleted policy
    - `deleted` boolean: Always `true` when the policy was deleted

## Changes

> 54 revisions in range; 3 not diffed.

- **2026-05-31** `173563ada468`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/confident-ai/apis/confident-ai-metrics-api/changes/v1/projects/:projectId/policies/:policyId/delete.md)

---

[API](https://skmtc.dev/confident-ai/apis/confident-ai-metrics-api.md) - [All operations](https://skmtc.dev/confident-ai/apis/confident-ai-metrics-api/llms.txt) - [OpenAPI document](https://skmtc.dev/confident-ai/apis/confident-ai-metrics-api/revisions/95cdde71b65e?raw)
