Update team
PATCH/v2/orgs/:org_id/teams/:team_id
Updates an existing team.
Required scope
organizations:teams:writeRate limiting
Level 1Enterprise only
This API is available only for Enterprise plan users. You can only use this endpoint if you have the role of a Company Admin. You can request temporary access to Enterprise APIs using this form.
Request
Path Parameters
The id of the Organization.
The id of the Team.
- application/json
Body
required
Team name
Responses
- 200
- 400
- 401
- 403
- 404
- 429
Team object
- application/json
- Schema
- Example (from schema)
Schema
Team id
Team name
picture
object
Id of the picture
Url of the picture
Original team picture url for icon generation
Default value: picture
Type of the object returned.
Default value: team
Type of the object returned.
{
"id": "3074457345618265000",
"name": "My Team",
"picture": {
"id": 3074457345618261500,
"imageURL": "https://miro.images/5252525252/125252/266/144/1/size210.jpg",
"originalUrl": "https://miro.com/original-image.jpg",
"type": "picture"
},
"type": "team"
}
Malformed request
- application/json
- Schema
- Example (from schema)
Schema
Default value: 400
HTTP status code.
Default value: invalidParameters
Description of the status code.
Explanation for the error
Default value: error
Type of the object returned.
{
"status": 400,
"code": "invalidParameters",
"message": "string",
"type": "error"
}
Invalid authentication credentials
- application/json
- Schema
- Example (from schema)
Schema
Default value: 401
HTTP status code.
Default value: tokenNotProvided
Description of the status code.
Explanation for the error
Default value: error
Type of the object returned.
{
"status": 401,
"code": "tokenNotProvided",
"message": "string",
"type": "error"
}
Invalid access
- application/json
- Schema
- Example (from schema)
Schema
Default value: 403
HTTP status code.
Default value: forbiddenAccess
Description of the status code.
Explanation for the error
Default value: error
Type of the object returned.
{
"status": 403,
"code": "forbiddenAccess",
"message": "string",
"type": "error"
}
Invalid access
- application/json
- Schema
- Example (from schema)
Schema
Default value: 404
HTTP status code.
Default value: notFound
Description of the status code.
Explanation for the error
Default value: error
Type of the object returned.
{
"status": 404,
"code": "notFound",
"message": "string",
"type": "error"
}
Too many requests
- application/json
- Schema
- Example (from schema)
Schema
Default value: 429
HTTP status code.
Default value: tooManyRequests
Description of the status code.
Explanation for the error
Default value: error
Type of the object returned.
{
"status": 429,
"code": "tooManyRequests",
"message": "string",
"type": "error"
}