# HG changeset patch # User Trần H. Trung # Date 1690645908 -25200 # Node ID 99c0e675b969cb3230383f554e8d4021bcc65b72 # Parent 6fb93b901aa485d244b7098ec30321a4947d9948 mod_invites_api: Update README.markdown. diff -r 6fb93b901aa4 -r 99c0e675b969 mod_invites_api/README.markdown --- 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 +```