If you’re running Astronomer Enterprise v0.9.2 - v0.9.7, you might run into a known bug (addressed in Astronomer v0.10) that prevents you from deleting a User that’s in a Pending
state on your Users tab in the Astronomer UI.
If you’re running any Astronomer version under v0.10, follow the steps below to delete that user:
- Head to your Astronomer UI and navigate to
basedomain
/token - Copy that token and head to your GraphQL playground
- Place that token in the HTTP Headers section at the bottom of that page using the following format: `{ “Authorization”: “” }
- Run
astro workspace list
via the CLI, and grab yourworkspaceUuid
- Run the following query to get your pending user’s ID:
query invites {
invites(workspaceUuid:"<your-workspace-uuid>" )
{
uuid
email
}
}
- Grab the
uuid
of the pending user you’d like to delete and use it in the following mutation:
mutation deleteInvite{
deleteInviteToken(inviteUuid: "<your-invite-uuid>" )
{email}
}
You’re all set! More info on querying Houston (the Astronomer API) here:
https://www.astronomer.io/docs/houston-api/