Create user within your organisation
Overview
You can create a user within your organisation if you're an admin.
Command
$ spawnctl create user
If you include the --admin
flag, new user will be an admin of your organisation.
Tutorial
In this tutorial we create a user within the current user's organisation.
As a prerequisite you should've followed the instructions to install spawnctl
Run the following command to get the list of organisation members.
$ spawnctl get organisation Name Email Onboarded Spawn User spawn.user@example.com true
Create a new user
$ spawnctl create user --name "Spawn CI" --email spawn.ci.user@example.com --admin=true
Run the following command to get the list of organisation members.
$ spawnctl get organisation Name Email Onboarded Spawn User spawn.user@example.com true Spawn CI spawn.ci.user@example.com false