public static void doUnregister(final String json, final String url, final String accessToken) throws IOException {
        if (StringUtils.isBlank(accessToken)) {
            LOGGER.error("{} client unregister error accessToken is null, please check the config : {} ", Constants.URI, json);
            return;
        }
        Headers headers = new Headers.Builder().add(Constants.X_ACCESS_TOKEN, accessToken).build();
        String result = OkHttpTools.getInstance().post(url, json, headers);
        if (Objects.equals(SUCCESS, result)) {
            LOGGER.info("{} client unregister success: {} ", Constants.URI, json);
        } else {
            LOGGER.error("{} client unregister error: {} ", Constants.URI, json);
        }
    }
Do unregister.

@param json        the json
@param url         the url
@param accessToken the token
@throws IOException the io exception
shenyu-register-center/shenyu-register-client/shenyu-register-client-http/src/main/java/org/apache/shenyu/register/client/http/utils/RegisterUtils.java