code: func (c *Conn) DeleteMapping(index string, typeName string) (BaseResponse, error) {
  	var retval BaseResponse
  
  	if len(index) == 0 {
  		return retval, fmt.Errorf("You must specify at least one index to delete a mapping from")
  	}
  
  	if len(typeName) == 0 {
  		return retval, fmt.Errorf("You must specify at least one mapping to delete")
  	}
  
  	// As documented at http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-delete-mapping.html
  	url := fmt.Sprintf("/%s/%s", index, typeName)
  
  	body, err := c.DoCommand("DELETE", url, nil, nil)
  	if err != nil {
  		return retval, err
  	}
  
  	jsonErr := json.Unmarshal(body, &retval)
  	if jsonErr != nil {
  		return retval, jsonErr
  	}
  
  	return retval, err
  }
docs: // The delete API allows you to delete a mapping through an API.