Skip to main content

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

  1. Run the following command to get the list of organisation members.

    $ spawnctl get organisation
    Name Email Onboarded
    Spawn User spawn.user@example.com true
  2. Create a new user

    spawnctl create user --name "Spawn CI" --email spawn.ci.user@example.com --admin=true
  1. 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