public T delete(String entityId, MnoHttpClient httpClient) throws AuthenticationException, ApiException {
		String jsonBody = httpClient.delete(getInstanceUrl(entityId));

		Type parsingType = new MnoAccountResponseParameterizedType(entitityClass);
		MnoAccountResponse<T> resp = GSON.fromJson(jsonBody, parsingType);

		return resp.getData();
	}
public T delete ( String entityId , MnoHttpClient httpClient ) throws AuthenticationException , ApiException { String jsonBody = httpClient . delete ( getInstanceUrl ( entityId ) ) ; Type parsingType = new MnoAccountResponseParameterizedType ( entitityClass ) ; MnoAccountResponse < T > resp = GSON . fromJson ( jsonBody , parsingType ) ; return resp . getData ( ) ; }
Delete or cancel an entity remotely

@param entity
class
@param entity
id
@param httpClient
@return deleted/cancelled entity
@throws AuthenticationException
@throws ApiException