From dd3d87bd97e41c77eea270812d338139fd87b9fc Mon Sep 17 00:00:00 2001 From: Benjamin Morrison Date: Thu, 21 Oct 2021 21:31:17 -0400 Subject: delete a user, new config option for admin pass. pass is bcrypt hashed on startup and not stored in plaintext. --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 44f3e43..f1833f2 100644 --- a/README.md +++ b/README.md @@ -263,6 +263,14 @@ $ curl 'https://twtxt.example.com/api/plain/tags/programming' foo https://example.com/twtxt.txt 2019-03-01T09:31:02.000Z I love #programming! ``` +### Delete a User + +``` +$ curl -X DELETE -H 'X-Auth: password_in_getwtxt.yml' 'https://twtxt.example.com/api/admin/users?url=https://example.com/twtxt.txt' + +200 OK +``` + ## Benchmarks * [bombardier](https://github.com/codesenberg/bombardier) -- cgit 1.4.1-2-gfad0