Changeset

5635:99c0e675b969

mod_invites_api: Update README.markdown.
author Trần H. Trung <xmpp:trần.h.trung@trung.fun>
date Sat, 29 Jul 2023 22:51:48 +0700
parents 5634:6fb93b901aa4
children 5636:7e5701fbae88
files mod_invites_api/README.markdown
diffstat 1 files changed, 11 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/mod_invites_api/README.markdown	Sat Jul 29 18:11:24 2023 +0700
+++ b/mod_invites_api/README.markdown	Sat Jul 29 22:51:48 2023 +0700
@@ -88,23 +88,23 @@
 Authorization: Bearer HTwALnKL/73UUylA-2ZJbu9x1XMATuIbjWpip8ow1
 ```
 
+You can also create an api key for a specific user:
+
+```
+prosodyctl mod_invites_api create user@example.com
+```
+
 Key management
 ==============
 
-At any time you can view authorized keys using:
-
-```
-prosodyctl mod_invites_api list example.com
-```
-
-This will list out the id of each key, and the name if set:
+To list all the available commands:
 
 ```
-HTwALnKL	My test key
+prosodyctl mod_invites_api help
 ```
 
-You can revoke a key by passing this key id to the 'delete` sub-command:
+To get help on a specific command for example `create`:
 
 ```
-prosodyctl mod_invites_api delete example.com HTwALnKL
-```
\ No newline at end of file
+prosodyctl mod_invites_api help create
+```