From aeb978552a10eb89d183cdec04d242369127d764 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Wed, 11 May 2022 11:51:11 +0200 Subject: Short doc on UpdateKey --- doc/drafts/admin-api.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/drafts/admin-api.md b/doc/drafts/admin-api.md index dc89014a..840dd4f7 100644 --- a/doc/drafts/admin-api.md +++ b/doc/drafts/admin-api.md @@ -326,6 +326,16 @@ Updates information about the specified API access key. Request body format: ```json -#TODO +{ + "name": "NameOfMyKey", + "allow": { + "createBucket": true, + }, + "deny": {} +} ``` +All fields (`name`, `allow` and `deny`) are optionnal. +If they are present, the corresponding modifications are applied to the key, otherwise nothing is changed. +The possible flags in `allow` and `deny` are: `createBucket`. + -- cgit v1.2.3