Patch a team
PATCH/v1/teams/:name
This route allows you to patch a team's details. This can be used to update the team's name, users, and description.
To learn more about teams, check out the documentation.
Requestโ
Path Parameters
name stringrequired
The name of the team you want to patch.
- application/json
Body
namestring
The new name of the team.
usersstring[]
One or more e-mail addresses of users to add to the new team. This will override the existing user list.
descriptionstring
The new description of the team.
Responsesโ
- 200
Updated 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"
}
]
}
}