Skip to main content

Update user within your organisation

Overview#

You can update a user from your organisation if you're an admin.

Command#

spawnctl update user

Examples#

spawnctl update user your@email.com --admin=true
spawnctl update user your@email.com -n name

Tutorial#

In this tutorial we update 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
    Spawn CI spawn.ci.user@example.com true
  2. Update user

    spawnctl update user spawn.ci.user@example.com --admin=false
  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 true