public int delete(String value, String extend_uri) throws Exception {
		ClientConfig config = new DefaultClientConfig();
		client = Client.create(config);
		client.addFilter(new LoggingFilter());
		webResource = client.resource(address + "adminPanel" + extend_uri + "/"
				+ value);

		client.addFilter(new HTTPBasicAuthFilter(login, pass));
		ClientResponse response = webResource.type(MediaType.APPLICATION_JSON)
				.delete(ClientResponse.class);

		System.out.println(response.getStatus());
		return response.getStatus();
	}