---
title: "Delete a metric policy"
method: DELETE
path: "/v1/metric/policies/{policyId}"
tags: ["Metric Policy"]
---

# Delete a metric policy

`DELETE /v1/metric/policies/{policyId}`

## Request

- Base URL: `https://api.roark.ai`
- URL: `https://api.roark.ai/v1/metric/policies/{policyId}`
- Auth: HTTP bearer

Soft-deletes a metric policy. System policies cannot be deleted.

## Path parameters

- `policyId` string, uuid, required

## Response `200`

Metric policy deleted successfully

- object
  - `data` object, required
    - `deleted` boolean, required: Whether the policy was deleted

## Other responses

- `401`: Unauthorized
- `404`: Not Found
- `429`: Too Many Requests
- `500`: Internal Server Error

## Changes

> 187 revisions in range; 1 not diffed.

- **2026-08-17** `887b091b3d81`: 8 warning
  - added the new `conflict` enum value to the `type` response property for the response status `401`
  - added the new `conflict` enum value to the `type` response property for the response status `404`
  - added the new `conflict` enum value to the `type` response property for the response status `429`
  - added the new `conflict` enum value to the `type` response property for the response status `500`
  - …4 more

[Operation history](https://skmtc.dev/roarkhq/apis/roark-analytics-api/changes/v1/metric/policies/:policyId/delete.md)

---

[API](https://skmtc.dev/roarkhq/apis/roark-analytics-api.md) - [All operations](https://skmtc.dev/roarkhq/apis/roark-analytics-api/llms.txt) - [OpenAPI document](https://skmtc.dev/roarkhq/apis/roark-analytics-api/revisions/1a91a5c90e44?raw)
