---
title: "删除ConfigMap"
method: DELETE
path: "/k8s/cluster/{id}/namespaces/{namespaceName}/configmaps/{configMapName}"
tags: ["K8s配置管理"]
---

# 删除ConfigMap

`DELETE /k8s/cluster/{id}/namespaces/{namespaceName}/configmaps/{configMapName}`

删除指定的ConfigMap

## Path parameters

- `id` integer, required
- `namespaceName` string, required
- `configMapName` string, required

## Response `200`

OK

- ResultResult
  - `code` integer — 状态码
  - `data` unknown
  - `message` string — 提示信息

---

[API](https://skmtc.net/opsre/apis/devops.md) · [All operations](https://skmtc.net/opsre/apis/devops/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/opsre/devops/versions/25cac8835c4c/schema)
