How to delete a domain

Hey all -

Since there isn’t clear instructions on how to delete a domain from your organization, here’s how to do it from the graphql playground: GraphQL Playground

  1. Find your domain ID:
  domain(name:"") {
  1. Run mutation to delete it:
mutation {
  deleteDomain(input:{ domainId: "<ID from above response>"}) {
    organization { id }

That’s it. Confirm it worked via cli fly domains list.