Skip to content
Snippets Groups Projects
Commit 0a45b5a7 authored by Maarten de Waard's avatar Maarten de Waard :angel:
Browse files

POST -> PUT

parent 1da75974
No related branches found
No related tags found
1 merge request!3Resolve "Write API documentation"
This commit is part of merge request !3. Comments created here will be created in the context of that merge request.
...@@ -33,7 +33,7 @@ Encryption keys: ...@@ -33,7 +33,7 @@ Encryption keys:
Add a new password to a new Luks slot. Add a new password to a new Luks slot.
Post data: ``{"password": password, "new-password": new-password}`` Post data: ``{"password": password, "new-password": new-password}``
``POST /encryption/keys/{slot-id}`` ``PUT /encryption/keys/{slot-id}``
Change a luks slot's password. {slot} corresponds to a slot id listed by ``GET Change a luks slot's password. {slot} corresponds to a slot id listed by ``GET
/encryption/keys``. /encryption/keys``.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment