Delete a user from your organisation
Overview
You can delete a user from your organisation if you're an admin.
Command
$ spawnctl delete user
Tutorial
In this tutorial we delete 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
Delete user
$ spawnctl delete user spawn.ci.user@example.com
Run the following command to get the list of organisation members.
$ spawnctl get organisation Name Email Onboarded Spawn User spawn.user@example.com true