Skip to content

Commit 220be84

Browse files
committed
Merge pull request github#945 from github/update-1451921371
2 parents 41a1307 + 6cb08f9 commit 220be84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/v3/orgs/teams.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Name | Type | Description
4141
-----|------|--------------
4242
`name`|`string` | **Required**. The name of the team.
4343
`description`|`string` | The description of the team.
44-
`repo_names`|`array` of `strings` | The repositories to add the team to.
44+
`repo_names`|`array` of `strings` | The full name (e.g., "organization-name/repository-name") of repositories to add the team to.
4545
`privacy`|`string`| The level of privacy this team should have. Can be one of:<br/> * `secret` - only visible to organization owners and members of this team.<br/> * `closed` - visible to all members of this organization.<br/>Default: `secret`<br/>**This parameter requires a custom media type to be specified. Please see more in the alert below.**
4646
`permission`|`string` | **Deprecated**. In the preview period described in the alert below, a team's `permission` attribute no longer dictates what permission it has on its repositories; it only dictates what permission the repositories in this request will be added with, and what permission a new repository will be added to the team with if none is specified by the user. Avoid confusion by specifying a `permission` when using the [Add team repository](/v3/orgs/teams/#add-team-repository) API instead.<br/><br/>The permission to grant the team. Can be one of:<br/> * `pull` - team members can pull, but not push to or administer these repositories.<br/> * `push` - team members can pull and push, but not administer these repositories.<br/> * `admin` - team members can pull, push and administer these repositories.<br/>Default: `pull`
4747

0 commit comments

Comments
 (0)