Skip to main content

Workspace Settings

  • Get users of the workspace

    Use command :

    initz get user --scope=<workspace/org>
    Flags
    --scope
    • Defines the scope from where you want to remove the user, In this case, the scope argument value should be "workspace".
    • required
  • Add user to the Workspace

    In order to add a user to a particular workspace, Use command :

    initz add user --role=<role> --userid=<userid>
    Flags
    --role
    • Role for which you want to add the user.
    • Available roles : workspace-admin,developer
    • required
    --userid
    • ID of the user.
    • required
    • (How to get userid)
    • Instruction : Write the user ID within double quotes.
    important

    You can only add a user to the workspace if the user exists in the organization.

  • Remove user from the workspace

    In order to remove a user from a particular workspace, Use command :

    initz remove user --scope=<workspace/org> --userid=<userid>
    Flags
    --scope
    • Defines the scope from where you want to remove the user, In this case, the scope argument value should be "workspace".
    • required
    --userid
    • ID of the user.
    • required
  • Remove workspace from the organization

    To remove the workspace from the organization, Use command :

    initz delete workspace --workspaceid=<workspaceid>
    Flags
    --workspaceid
tip

In case you face any issue :

  • Check your current workspace.
  • If you are in the target workspace, you can use the command to add the user directly. Otherwise, you need to set the workspace first (How to set workspace).
note
  • Only admins and workspace-admins will have the ability to delete the workspace..