---
title: "Remove Prometheus configuration"
method: DELETE
path: "/api/v1/prometheus/config"
tags: ["Prometheus Configuration"]
---

# Remove Prometheus configuration

`DELETE /api/v1/prometheus/config`

## Request

- Base URL: `http://localhost:8080`
- URL: `http://localhost:8080/api/v1/prometheus/config`
- Auth: API key in header `Authorization`

Delete Prometheus configuration for a cluster or region. Requires either cluster_id or (region_code + user_id) as query parameters.

## Query parameters

- `cluster_id` string
- `region_code` string
- `user_id` string

## Response `200`

Configuration removed successfully

- PrometheusApiSuccessMessageResponse: Generic success response with message
  - `message` string

## Other responses

- `400`: Bad request - Missing required parameters
- `404`: Configuration not found
- `500`: Internal server error

---

[API](https://skmtc.dev/nife/apis/nife-io-swagger-api.md) - [All operations](https://skmtc.dev/nife/apis/nife-io-swagger-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nife/apis/nife-io-swagger-api/revisions/6e868dc62795?raw)
