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

Method createTeam

lib/Organization.js:93–95  ·  view source on GitHub ↗

* Create a team * @see https://developer.github.com/v3/orgs/teams/#create-team * @param {object} options - Team creation parameters * @param {string} options.name - The name of the team * @param {string} [options.description] - Team description * @param {string} [options.repo_nam

(options, cb)

Source from the content-addressed store, hash-verified

91 * @return {Promise} - the promise for the http request
92 */
93 createTeam(options, cb) {
94 return this._request('POST', `/orgs/${this.__name}/teams`, options, cb);
95 }
96
97 /**
98 * Get information about all projects

Callers 3

createTestTeamFunction · 0.80
team.spec.jsFile · 0.80

Calls 1

_requestMethod · 0.80

Tested by 1

createTestTeamFunction · 0.64