about summary refs log tree commit diff stats
path: root/README.md
diff options
context:
space:
mode:
authorBenjamin Morrison <ben@gbmor.dev>2021-10-21 21:41:44 -0400
committerGitHub <noreply@github.com>2021-10-21 21:41:44 -0400
commit57dfee62f097eed8f5e4a3429d7ea850ce07c570 (patch)
tree5ee99ab38e00c41190f82bef4b08a298c914f329 /README.md
parentd2cbd7b2dca8b981f886c490d0aed205f0530c31 (diff)
parentdd3d87bd97e41c77eea270812d338139fd87b9fc (diff)
downloadgetwtxt-57dfee62f097eed8f5e4a3429d7ea850ce07c570.tar.gz
Merge pull request #15 from getwtxt/delete-user
Delete user endpoint with admin pass
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 8 insertions, 0 deletions
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)