---
title: "删除证书"
method: DELETE
path: "/api/v1/certificates/{id}"
tags: ["证书管理"]
---

# 删除证书

`DELETE /api/v1/certificates/{id}`

删除指定的SSL/TLS证书

## Path parameters

- `id` string, required

## Response `200`

证书删除成功

- ModelSuccessResponseNoData — 成功的API响应标准格式,没有 data
  - `code` integer
  - `message` string
  - `requestId` string
  - `success` boolean
  - `timestamp` string

## Other responses

- `401` — 未授权访问
- `403` — 禁止访问
- `404` — 证书不存在
- `500` — 服务器内部错误

## Changes

- **2025-03-23** `856e5188751b` — 1 info
  - endpoint added
- **2025-03-13** `7b2561e7969f` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/labring/apis/ruiqi-waf-api/changes/api/v1/certificates/:id/delete.md)

---

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