(cli:user)=
# User subcommands

```{list-table} User subcommands
:header-rows: 1

* - Subcommand
  - Description
  - Argument
* - `add` 
  - Add a new user to the SeqsLab platform.
  - `email STR`  
  Specify the email account that is going to be added as a SeqsLab user account (required).  
  `roles [str ...]`  
  Specify the role the added user is going to be assigned to (required).  
  `deactivate`  
  Specify whether or not to deactivate the created user (optional, default = False).  
  `name`  
  Specify the user name that you want to use (optional).
* - `admin-consent`
  - [Global administrator only] prompt to sign in and grant admin consent for SeqsLab Enterprise Applications. For headless OS, an admin consent URL is returned, and the URL must be accessed in order to proceed with the admin consent task.
  - none
* - `delete`
  - Delete the specified user.
  - `id STR`  
  Specify the user ID (required).
* - `get`
  - Display the information for a specified user on SeqsLab.
  - `id STR`  
  Specify a user ID (required).
* - `list`
  - Display a list of all existing users on SeqsLab.
  - none
* - `update`
  - Add a new user to the SeqsLab platform.
  - `id STR`  
  Specify a user ID (required).  
  `email STR`  
  Specify the email account that is going to be added as a SeqsLab user account (optional).  
  `role [str ...]`  
  Specify the role the user is going to be assigned to (optional).  
  `activate STR`  
  Specify whether or not to activate the registered user (optional).  
  `deactivate`  
  Specify whether or not to deactivate the registered user (optional).  
  `name STR`  
  Specify the user name that you want to modify (optional).
```
