0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2024-12-30 22:34:13 -05:00

docs: fix apikey case (#1693)

Signed-off-by: Damien Degois <damien@degois.info>
This commit is contained in:
Damien Degois 2023-08-12 08:53:35 +02:00 committed by GitHub
parent 59922af528
commit 58870a2468
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -327,7 +327,7 @@ Create an API key for the current user using the REST API
**Sample input**:
```
POST /auth/apiKey
POST /auth/apikey
Body: {"label": "git", "scopes": ["repo1", "repo2"]}'
```
@ -366,7 +366,7 @@ Other command line tools will similarly accept the API key instead of a password
How to revoke an API key for the current user
**Usage**: DELETE /auth/apiKey?id=$uuid
**Usage**: DELETE /auth/apikey?id=$uuid
**Produces**: application/json