Delete a user with the Houston API

Delete a user

To delete a user from Astro Private Cloud, you need:

  • System Admin permissions
  • The ID of the user to delete. To retrieve this, request the id value in a users query or run astro workspace user list.

The following query removes a user, then returns information about the deleted user.

1mutation removeUser {
2 removeUser (
3 id: "<user-id>"
4 ) {
5 uuid
6 emails {address}
7 status
8 }
9}