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

Method unmanageRepo

lib/Team.js:143–146  ·  view source on GitHub ↗

* Remove repo management status for team * @see https://developer.github.com/v3/orgs/teams/#remove-team-repository * @param {string} owner - Organization name * @param {string} repo - Repo name * @param {Requestable.callback} [cb] - will receive the membership status of added user

(owner, repo, cb)

Source from the content-addressed store, hash-verified

141 * @return {Promise} - the promise for the http request
142 */
143 unmanageRepo(owner, repo, cb) {
144 log(`Remove repo management by Team ${this.__teamId} for repo ${owner}/${repo}`);
145 return this._request204or404(`/teams/${this.__teamId}/repos/${owner}/${repo}`, undefined, cb, 'DELETE');
146 }
147
148 /**
149 * Delete Team

Callers 1

team.spec.jsFile · 0.80

Calls 1

_request204or404Method · 0.80

Tested by

no test coverage detected