src/org/ohmage/lib/OhmageApi.java
public void deleteClass(final String authenticationToken, 
			final String client, final String classId)
			throws ApiException, RequestErrorException {
		
		Map<String, Object> parameters = new HashMap<String, Object>();
		parameters.put(InputKeys.AUTH_TOKEN, authenticationToken);
		parameters.put(InputKeys.CLIENT, client);
		parameters.put(InputKeys.CLASS_URN, classId);
		
		try {
			makeRequest(
					new URL(url.toString() + RequestBuilder.getInstance().getApiClassDelete()), 
					parameters, 
					false
				);
		}
		catch(MalformedURLException e) {
			throw new ApiException("The URL was incorrectly created.", e);
		}
		catch(IllegalArgumentException e) {
			throw new ApiException("The response was not proper JSON.", e);
		}
	}
/**
	 * Deletes a class.
	 * 
	 * @param authenticationToken The user's authentication token.
	 * 
	 * @param client THe client value.
	 * 
	 * @param classId The class' unique identifier.
	 * 
	 * @throws ApiException Thrown if there is a library error.
	 * 
	 * @throws RequestErrorException Thrown if the server returns an error.
	 */
Deletes a class.

@param authenticationToken The user's authentication token.

@param client THe client value.

@param classId The class' unique identifier.

@throws ApiException Thrown if there is a library error.

@throws RequestErrorException Thrown if the server returns an error.
Deletes a class . @param authenticationToken The user ' s authentication token . @param client THe client value . @param classId The class ' unique identifier . @throws ApiException Thrown if there is a library error . @throws RequestErrorException Thrown if the server returns an error .
public void deleteClass(final String authenticationToken, 
			final String client, final String classId)
			throws ApiException, RequestErrorException {
		Map<String, Object> parameters = new HashMap<String, Object>();
		parameters.put(InputKeys.AUTH_TOKEN, authenticationToken);
		parameters.put(InputKeys.CLIENT, client);
		parameters.put(InputKeys.CLASS_URN, classId);
		try {
			makeRequest(
					new URL(url.toString() + RequestBuilder.getInstance().getApiClassDelete()), 
					parameters, 
					false
				);
		}
		catch(MalformedURLException e) {
			throw new ApiException("The URL was incorrectly created.", e);
		}
		catch(IllegalArgumentException e) {
			throw new ApiException("The response was not proper JSON.", e);
		}
	}
public void deleteClass ( final String authenticationToken , final String client , final String classId ) throws ApiException , RequestErrorException { Map < String , Object > parameters = new HashMap < String , Object > ( ) ; parameters . put ( InputKeys . AUTH_TOKEN , authenticationToken ) ; parameters . put ( InputKeys . CLIENT , client ) ; parameters . put ( InputKeys . CLASS_URN , classId ) ; try { makeRequest ( new URL ( url . toString ( ) + RequestBuilder . getInstance ( ) . getApiClassDelete ( ) ) , parameters , false ) ; } catch ( MalformedURLException e ) { throw new ApiException ( "The URL was incorrectly created." , e ) ; } catch ( IllegalArgumentException e ) { throw new ApiException ( "The response was not proper JSON." , e ) ; } }
Deletes a class.
Deletes a class .