aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2023-11-23 08:50:10 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2023-11-23 08:50:10 +0100
commit814b3e11d4486b6d4c291b4e47b845521ddfb25c (patch)
tree5e8bab1e6d0055040a07eda8cf16358201b5d168
parent2d37e7fa391679ad4daa0725d2af9681e4dd9635 (diff)
downloadgarage-814b3e11d4486b6d4c291b4e47b845521ddfb25c.tar.gz
garage-814b3e11d4486b6d4c291b4e47b845521ddfb25c.zip
fix query parameters for keys
-rw-r--r--doc/api/garage-admin-v1.yml10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/api/garage-admin-v1.yml b/doc/api/garage-admin-v1.yml
index 078da5da..063bc382 100644
--- a/doc/api/garage-admin-v1.yml
+++ b/doc/api/garage-admin-v1.yml
@@ -348,7 +348,7 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/KeyInfo'
-
+
"/key":
get:
tags:
@@ -409,8 +409,8 @@ paths:
description: |
Delete a key from the cluster. Its access will be removed from all the buckets. Buckets are not automatically deleted and can be dangling. You should manually delete them before.
parameters:
- - name: access_key
- in: path
+ - name: id
+ in: query
required: true
description: "The exact API access key generated by Garage"
example: "GK31c2f218a2e44f485b94239e"
@@ -433,8 +433,8 @@ paths:
*Note: the secret key is not returned in the response, `null` is sent instead.*
parameters:
- - name: access_key
- in: path
+ - name: id
+ in: query
required: true
description: "The exact API access key generated by Garage"
example: "GK31c2f218a2e44f485b94239e"