Create a team
POST/v1/teams
This route allows you to create a new team in your Port organization.
To learn more about teams, check out the documentation.
Requestโ
- application/json
Body
required
namestringrequired
The name of the new team.
Possible values: Value must match regular expression ^[^;#/\?\s][^;#/\?]*[^;#/\?\s]$
usersstring[]
One or more e-mail addresses of users to add to the new team.
descriptionstring
The description of the new team.
Responsesโ
- 200
Created successfully.
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
okanyrequired
Possible values: [true
]
team
object
required
idstring
namestring
createdAtdate-time
updatedAtdate-time
providerstring
descriptionstring
users
object[]
emailstring
firstNamestring
lastNamestring
picturestring
statusstring
{
"ok": true,
"team": {
"id": "string",
"name": "string",
"createdAt": "2024-07-29T15:51:28.071Z",
"updatedAt": "2024-07-29T15:51:28.071Z",
"provider": "string",
"description": "string",
"users": [
{
"email": "string",
"firstName": "string",
"lastName": "string",
"picture": "string",
"status": "string"
}
]
}
}