MCPcopy Index your code
hub / github.com/github-tools/github / deleteTeam

Method deleteTeam

lib/Team.js:154–157  ·  view source on GitHub ↗

* Delete Team * @see https://developer.github.com/v3/orgs/teams/#delete-team * @param {Requestable.callback} [cb] - will receive the list of repositories * @return {Promise} - the promise for the http request

(cb)

Source from the content-addressed store, hash-verified

152 * @return {Promise} - the promise for the http request
153 */
154 deleteTeam(cb) {
155 log(`Deleting Team ${this.__teamId}`);
156 return this._request204or404(`/teams/${this.__teamId}`, undefined, cb, 'DELETE');
157 }
158}
159
160module.exports = Team;

Callers 2

team.spec.jsFile · 0.80
deleteTeamFunction · 0.80

Calls 1

_request204or404Method · 0.80

Tested by

no test coverage detected