pub(crate) async fn leave_federation( gw: &Gatewayd, fed_id: String, expected_scid: u64, ) -> Result<()>
Leaves the specified federation by issuing a leave-fed POST request to the gateway.
leave-fed