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