* 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)
| 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 | |
| 160 | module.exports = Team; |
no test coverage detected