Skip to main content
DELETE
/
api
/
v1
/
metric-configs
/
{configId}
Delete metric config
curl --request DELETE \
  --url https://api.logfleet.io/api/v1/metric-configs/{configId} \
  --header 'Authorization: Bearer <token>'
{
  "error": "<string>",
  "message": "<string>"
}
Deleting a metric config stops metric extraction for that config on all agents. Historical metrics are retained; only future extraction is affected.

Authorizations

Authorization
string
header
required

JWT token obtained from /auth/login

Path Parameters

configId
string<uuid>
required

Metric config ID

Response

Config deleted