---
title: "移除 MCP 服务的单个凭据字段"
method: DELETE
path: "/mcp-services/{id}/credentials/{field}"
tags: ["MCP服务"]
---

# 移除 MCP 服务的单个凭据字段

`DELETE /mcp-services/{id}/credentials/{field}`

删除指定字段的存储凭据；删除已为空的字段是幂等的

## Path parameters

- `id` string, required
- `field` string, required

## Response `204`

No Content

## Other responses

- `400` — 字段名非法
- `404` — 服务不存在

## Changes

- **2026-05-21** `2a10056aff5c` — 1 info
  - endpoint added
- **2025-12-16** `edf61e68559d` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/tencentblueking/apis/weknora-api/changes/mcp-services/:id/credentials/:field/delete.md)

---

[API](https://skmtc.dev/tencentblueking/apis/weknora-api.md) · [All operations](https://skmtc.dev/tencentblueking/apis/weknora-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tencentblueking/weknora-api/revisions/a5ce73ad8921/schema)
