OpenAPI specification of admin APIv1 #672
1 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
quentin marked this conversation as resolved
Outdated
|
||||
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"
|
||||
|
|
Loading…
Reference in a new issue
Thanks for the super fast response on #671! Updated my fork of the terraform provider but can't delete a key (with the golang sdk).
It issues a request to
DELETE /v1/key
without anid
query string parameter (which i think the endpoint consumes), and here it says it needs to go on the path, but there's no{access_key}
in there. Should this bename: id, in: query
?Indeed you're right.
Should be fixed now.