参数删除接口文档

This commit is contained in:
victor 2021-03-04 17:00:29 +08:00
parent 61e5b9132a
commit 3b5d971964
1 changed files with 2 additions and 2 deletions

View File

@ -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' \
```
*请求参数说明:*