forked from Deuxfleurs/garage
Short doc on UpdateKey
This commit is contained in:
parent
393b76ecba
commit
aeb978552a
1 changed files with 11 additions and 1 deletions
|
@ -326,6 +326,16 @@ Updates information about the specified API access key.
|
||||||
Request body format:
|
Request body format:
|
||||||
|
|
||||||
```json
|
```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`.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue