---
title: "Remove specific agent configuration from all hosts"
method: DELETE
path: "/agent/setting/rm/{platform}/{configKey}"
tags: ["AGENT PRIVATE ROUTES"]
---

# Remove specific agent configuration from all hosts

`DELETE /agent/setting/rm/{platform}/{configKey}`

This API removes a given configuration key under a specific platform (e.g., linux, k8s) from all host settings and marks them for restart.

## Path parameters

- `platform` string, required
- `configKey` string, required

## Response `200`

Status of configuration removal across hosts

- object

## Other responses

- `401` — Unauthorized or invalid token
- `500` — Internal server error

---

[API](https://skmtc.net/middleware/apis/middleware-api.md) · [All operations](https://skmtc.net/middleware/apis/middleware-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/middleware/middleware-api/revisions/614091456d31/schema)
