PATCH
/
organizations
/
teams
/
{teamId}
Update Team
curl --request PATCH \
  --url http://api.attention.tech/v2/organizations/teams/{teamId} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Marketing",
  "parentTeamUUID": "2ccf9bde-68e3-4de4-bc4e-51b927336665"
}'
{
  "data": {
    "name": "Marketing",
    "uuid": "25fd70be-4d15-4b95-9931-69a320ceef76"
  }
}

Authorizations

Authorization
string
header
required

Path Parameters

teamId
string
required

UUID of the team to update

Body

The updated team information

name
string
parentTeamUUID
string

Response

Team successfully updated

data
object

Represents a team in the system with its properties and hierarchical structure