Use DELETE method instead of GET for key removal

This commit is contained in:
Tankred Hase
2016-06-14 16:46:17 +02:00
parent 1a7b57777b
commit 7d93b882a5
4 changed files with 11 additions and 8 deletions

View File

@@ -137,7 +137,7 @@ GET /api/v1/key?op=verify&keyId=b8e4105cc9dedc77&nonce=6a314915c09368224b11df0fe
### Request key removal
```
GET /api/v1/key?op=remove&keyId=b8e4105cc9dedc77 OR ?email=user@example.com
DELETE /api/v1/key?keyId=b8e4105cc9dedc77 OR ?email=user@example.com
```
### Verify key removal