code: function deleteLabel(_ref2, name) {
    var api = _ref2.api;
    var token = _ref2.token;
    var repo = _ref2.repo;
  
    return (0, _request2.default)({
      headers: { 'User-Agent': 'request', 'Authorization': 'token ' + token },
      url: api + '/' + repo + '/labels/' + name,
      method: 'DELETE',
      json: true
    });
  }
docs: Sends a request to GitHub to delete a label
  
  @name deleteLabel
  @function
  @param {Object} server the server configuration object
  @param {String} server.api the api endpoint to connect to
  @param {String} server.token the api token to use
  @param {String} server.repo the git repo to manipulate
  @param {String} name the name of the label to delete
  @return {Promise}