code: public void deleteTarget( String targetId ) throws TargetWsException {
  
  		this.logger.finer( "Deleting target " + targetId  );
  
  		WebResource path = this.resource.path( UrlConstants.TARGETS ).path( targetId );
  		ClientResponse response = this.wsClient.createBuilder( path )
  						.accept( MediaType.APPLICATION_JSON )
  						.delete( ClientResponse.class );
  
  		handleResponse( response );
  	}
docs: Deletes a target.
  @param targetId a target ID
  @throws TargetWsException if the creation failed