@DeleteMapping("/{discoveryId}")
    public ShenyuAdminResult delete(@PathVariable("discoveryId") final String discoveryId) {
        return ShenyuAdminResult.success(ShenyuResultMessage.SUCCESS, discoveryService.delete(discoveryId));
    }
delete by id.

@param discoveryId discoveryId
@return {@linkplain ShenyuAdminResult}
shenyu-admin/src/main/java/org/apache/shenyu/admin/controller/DiscoveryController.java