code: public static void delete(final String id) throws AppPlatformException, IOException {
          assert(id != null);
          final BandwidthClient client = BandwidthClient.getInstance();
          client.delete(client.getUserResourceInstanceUri(BandwidthConstants.DOMAINS_URI_PATH, id));
      }
docs: Permanently deletes the Domain.
  @param id the Domain id.
  @throws AppPlatformException API Exception
  @throws IOException unexpected error