---
title: "Delete a metric definition"
method: DELETE
path: "/v1/metric-alerts/definitions/{artifactId}/{metricId}"
tags: ["Metric alerts"]
---

# Delete a metric definition

`DELETE /v1/metric-alerts/definitions/{artifactId}/{metricId}`

## Request

- Base URL: `https://shareout.site`
- URL: `https://shareout.site/v1/metric-alerts/definitions/{artifactId}/{metricId}`
- Auth: HTTP bearer

## Response `200`

Deleted

## Other responses

- `404`: Resource not found

## Changes

- **2026-10-09** `1069d922d239`: 8 info
  - added the optional property `docs` to the response with the `404` status
  - added the optional property `hint` to the response with the `404` status
  - added the optional property `param` to the response with the `404` status
  - added the optional property `reason` to the response with the `404` status
  - …4 more

[Operation history](https://skmtc.dev/shareout/apis/shareout-rest-api/changes/v1/metric-alerts/definitions/:artifactId/:metricId/delete.md)

---

[API](https://skmtc.dev/shareout/apis/shareout-rest-api.md) - [All operations](https://skmtc.dev/shareout/apis/shareout-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/shareout/apis/shareout-rest-api/revisions/1e3f7fd34f6d?raw)
