Decommissioning a node entirely from the domain (Disconnect and remove topology records)

Hi all, i’d like to understand the process of decomissioning a node entirely from an existing domain. (Including removal of the node’s owner to key mapping records, and any other topology records related to the node)

  1. For an existing distributed domain setup (Canton domain with separate Domain manager, Sequencer, Mediator nodes) , may I know which of the following nodes can be safely decomissioned from an existing domain while keeping the rest of the node identities intact ?
  • Domain manager (I assume this is not possible as it stores topology transactions itself)
  • Sequencer (Consider variant cases where multiple sequencers are present in a domain vs when only a single sequencer is present)
  • Mediator
  • Participant (Participant.domains.disconnect disconnects a domain, but the participant’s keys are still recognized by the domain manager with just this command)
  1. For nodes which can be safely decommissioned from an existing domain, may I know the sequence of steps to execute for decommissioning each type of node from an existing domain?

Thank you