Skip to main content
PATCH
/
organizations
/
teams
/
{teamId}
Update Team
curl --request PATCH \
  --url https://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"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.attention.com/llms.txt

Use this file to discover all available pages before exploring further.

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

Example:
{
"uuid": "fe515723-fe2e-4959-a5fa-c4d3937fe7e4",
"name": "Engineering",
"phrases": ["engineering", "tech", "development"],
"domain": "attention.tech",
"organizerJoinInternalMeetings": true,
"consentEmailEnabled": true,
"parentTeamUUID": "2ccf9bde-68e3-4de4-bc4e-51b927336665",
"organizationUUID": "16b78cec-82ef-46d2-8213-5d3bb7d2571c"
}