diff --git a/docs/cli.md b/docs/cli.md index bbbc80a..463f76b 100644 --- a/docs/cli.md +++ b/docs/cli.md @@ -174,9 +174,17 @@ For "things" service, the response should look like this: SuperMQ has two options for user creation. Either the `` is provided or not. If the `` is provided then the created user will be owned by the user identified by the ``. Otherwise, when the token is not used, since everybody can create new users, the user will not have an owner. However, the token is still required, in order to be consistent. For more details, please see [Authorization page](authorization.md). ```bash -supermq-cli users create +supermq-cli users create -supermq-cli users create +supermq-cli users create +``` + +For example: + +```bash +supermq-cli users create John Doe johndoe@example.com johndoe 12345678 + +supermq-cli users create John Doe johndoe@example.com johndoe 12345678 ``` #### Login User @@ -222,16 +230,10 @@ supermq-cli users update '{"name":"value1", "metadata":{"value2": "val supermq-cli users update tags '["tag1", "tag2"]' ``` -#### Update User Identity - -```bash -supermq-cli users update identity -``` - -#### Update User Owner +#### Update User Email ```bash -supermq-cli users update owner +supermq-cli users update email ``` #### Update User Password