Update team.md (#25277)

document didn't metion teams can assign an orgId.
This commit is contained in:
Nagle Zhang 2020-06-05 13:42:53 +08:00 committed by GitHub
parent 29598d83ce
commit 1b4fd9ad3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -107,7 +107,7 @@ Status Codes:
## Add Team
The Team `name` needs to be unique. `name` is required and `email` is optional.
The Team `name` needs to be unique. `name` is required and `email`,`orgId` is optional.
`POST /api/teams`
@ -121,7 +121,8 @@ Authorization: Basic YWRtaW46YWRtaW4=
{
"name": "MyTestTeam",
"email": "email@test.com"
"email": "email@test.com",
"orgId": 2
}
```