From 3b5d9719641780da383ab454b189b9174eed5806 Mon Sep 17 00:00:00 2001 From: victor <121183489011@qq.com> Date: Thu, 4 Mar 2021 17:00:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=82=E6=95=B0=E5=88=A0=E9=99=A4=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api_document.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api_document.md b/api_document.md index 424086b5b..7620c42a6 100644 --- a/api_document.md +++ b/api_document.md @@ -4919,13 +4919,13 @@ curl --location --request POST 'http://localhost:3000/api/ci/secrets?owner=test& #### 参数删除 ``` -DELETE /api/ci/secrets/{id}/{name}?owner={owner}&repo={repo} +DELETE /api/ci/secrets/{id}?name={name}&owner={owner}&repo={repo} ``` *示例* ```bash -curl --location --request DELETE 'http://localhost:3000/api/ci/secrets/1/p2?owner=victor&repo=trustieTest' \ +curl --location --request DELETE 'http://localhost:3000/api/ci/secrets/1?name=p1&owner=victor&repo=trustieTest' \ ``` *请求参数说明:*