code: func (r *Client) DeleteDatasourceByName(name string) (StatusMessage, error) {
  	var (
  		raw   []byte
  		reply StatusMessage
  		err   error
  	)
  	if raw, _, err = r.delete(fmt.Sprintf("api/datasources/name/%s", name)); err != nil {
  		return StatusMessage{}, err
  	}
  	err = json.Unmarshal(raw, &reply)
  	return reply, err
  }
docs: // DeleteDatasourceByName deletes an existing datasource by Name.
  // It reflects DELETE /api/datasources/name/:datasourceName API call.