Updates the description of a team belonging to the authenticated org.
Required permission
Os > Team > General > Update
Path parameters
teamId
string requiredID of the team
Request body
- {object}
description
stringA description of the team.max length200pattern^[a-zA-Z0-9.,?\s\\/'"()[\];`%^&*\-_:!]+$
Response body
- {object}Response object.
data
{object} requiredResult data.id
string requiredID of the team.pattern^[A-Za-z0-9-]+$name
string requiredDisplay name of the team.description
stringDescription of the team.createdAt
string requiredThe time the team was created.updatedAt
stringThe time the team was last updated.
API
CLI
JS Client
PATCH /v1/teams/{teamId}
Example request
Request body
curl --header "Content-Type: application/json" \
--header "Authorization: Bearer NORTHFLANK_API_TOKEN" \
--request PATCH \
--data '{"description":"This is my team."}' \
https://api.northflank.com/v1/teams/{teamId}Example response
200 OK
Details about the updated team.
JSON
{
"data": {
"id": "my-team",
"name": "My Team",
"description": "This is my team.",
"createdAt": "2021-01-20T11:19:53.175Z",
"updatedAt": "2021-01-20T11:19:53.175Z"
}
}